Skip to main content

OptionMove_SI

Trait OptionMove_SI 

Source
pub trait OptionMove_SI<T>:
    IsVariant<TStr<__TS<(__S, __o, __m, __e)>>>
    + IntoVariantField<TStr<__TS<(__S, __o, __m, __e)>>, TStr<__TS<(__0,)>>, Ty = T>
    + IsVariant<TStr<__TS<(__N, __o, __n, __e)>>> { }
Expand description

Structural alias for Option-like enums. With shared,and by value access.

A trait which aliases structural accessor traits,generated by the structural_alias macro.

§Variants

This trait aliases the IsVariant<TS!( NameOfVariant )> trait for each of the variants below.

Variant Some {

        Bound:IntoVariantField<TS!(Some), FP!(0),Ty= T>
        The   0: T field   in the Some variant, with shared, and by value accessors

}

Variant None {
}

Implementors§

Source§

impl<T, __This> OptionMove_SI<T> for __This
where __This: ?Sized + IsVariant<TStr<__TS<(__S, __o, __m, __e)>>> + IntoVariantField<TStr<__TS<(__S, __o, __m, __e)>>, TStr<__TS<(__0,)>>, Ty = T> + IsVariant<TStr<__TS<(__N, __o, __n, __e)>>>,