[][src]Trait structural::structural_aliases::Result_SI

pub trait Result_SI<T, E>: IsVariant<TStr<__TS<(__O, __k)>>> + IntoVariantFieldMut<TStr<__TS<(__O, __k)>>, TStr<__TS<(__0,)>>, Ty = T> + IsVariant<TStr<__TS<(__E, __r, __r)>>> + IntoVariantFieldMut<TStr<__TS<(__E, __r, __r)>>, TStr<__TS<(__0,)>>, Ty = E> { }

Structural alias for Result-like enums. With shared,mutable,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 Ok {

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

}

Variant Err {

        Bound:IntoVariantFieldMut<TS!(Err), FP!(0),Ty= E>
        The   0: E field   in the Err variant, with shared, mutable, and by value accessors

}

Implementors

impl<T, E, __This: ?Sized> Result_SI<T, E> for __This where
    __This: IsVariant<TStr<__TS<(__O, __k)>>> + IntoVariantFieldMut<TStr<__TS<(__O, __k)>>, TStr<__TS<(__0,)>>, Ty = T> + IsVariant<TStr<__TS<(__E, __r, __r)>>> + IntoVariantFieldMut<TStr<__TS<(__E, __r, __r)>>, TStr<__TS<(__0,)>>, Ty = E>, 
[src]

Loading content...