Lines Matching refs:Option
1 // Unlike `impl Into<Option<T>>` or `Option<impl Into<T>>`, this isn't ambiguous for the `None`
16 /// workaround a limitation where you can't have a function argument that is `impl Into<Option<T>>`
40 pub(crate) fn into_option(self) -> Option<T> {
54 impl<T> From<Option<T>> for Resettable<T> {
55 fn from(other: Option<T>) -> Self {
69 impl IntoResettable<char> for Option<char> {
78 impl IntoResettable<usize> for Option<usize> {
87 impl IntoResettable<ArgAction> for Option<ArgAction> {
96 impl IntoResettable<ValueHint> for Option<ValueHint> {
105 impl IntoResettable<ValueParser> for Option<ValueParser> {
114 impl IntoResettable<StyledStr> for Option<&'static str> {
123 impl IntoResettable<OsStr> for Option<&'static str> {
132 impl IntoResettable<Str> for Option<&'static str> {