pub enum Variant<T> {
Unit(UnitVariant),
Tuple(TupleVariant<T>),
Struct(StructVariant<T>),
}Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for Variant<T>where T: RefUnwindSafe,
impl<T> !Send for Variant<T>
impl<T> !Sync for Variant<T>
impl<T> Unpin for Variant<T>where T: Unpin,
impl<T> UnwindSafe for Variant<T>where T: 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