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