[][src]Enum unsized_enum::EnumRef

pub enum EnumRef<'a, V0: ?Sized, V1> {
    V0(&'a mut V0),
    V1(&'a mut V1),
}

A mutable reference to the active variant within the UnsizedEnum

Variants

V0(&'a mut V0)
V1(&'a mut V1)

Auto Trait Implementations

impl<'a, V0: ?Sized, V1> RefUnwindSafe for EnumRef<'a, V0, V1> where
    V0: RefUnwindSafe,
    V1: RefUnwindSafe

impl<'a, V0: ?Sized, V1> Send for EnumRef<'a, V0, V1> where
    V0: Send,
    V1: Send

impl<'a, V0: ?Sized, V1> Sync for EnumRef<'a, V0, V1> where
    V0: Sync,
    V1: Sync

impl<'a, V0: ?Sized, V1> Unpin for EnumRef<'a, V0, V1>

impl<'a, V0, V1> !UnwindSafe for EnumRef<'a, V0, V1>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.