pub enum Enum2<T1, T2> {
V1(T1),
V2(T2),
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl<T1, T2> Freeze for Enum2<T1, T2>
impl<T1, T2> RefUnwindSafe for Enum2<T1, T2>where
T1: RefUnwindSafe,
T2: RefUnwindSafe,
impl<T1, T2> Send for Enum2<T1, T2>
impl<T1, T2> Sync for Enum2<T1, T2>
impl<T1, T2> Unpin for Enum2<T1, T2>
impl<T1, T2> UnwindSafe for Enum2<T1, T2>where
T1: UnwindSafe,
T2: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more