pub struct Enum<T, S>(/* private fields */)
where
T: ImportantEnumTrait,
S: DataReader + GetU64;Expand description
A wrapper containing an enum T, represented by the type S
T needs to implement ImportantEnumTrait
S needs to implement DataReader + GetU64
Trait Implementations§
source§impl<T, S> DataReader for Enum<T, S>where
S: DataReader + GetU64,
T: ImportantEnumTrait,
impl<T, S> DataReader for Enum<T, S>where
S: DataReader + GetU64,
T: ImportantEnumTrait,
source§impl<T, S> ImportantFunctions for Enum<T, S>
impl<T, S> ImportantFunctions for Enum<T, S>
Auto Trait Implementations§
impl<T, S> Freeze for Enum<T, S>
impl<T, S> RefUnwindSafe for Enum<T, S>where
T: RefUnwindSafe,
S: RefUnwindSafe,
impl<T, S> Send for Enum<T, S>
impl<T, S> Sync for Enum<T, S>
impl<T, S> Unpin for Enum<T, S>
impl<T, S> UnwindSafe for Enum<T, S>where
T: UnwindSafe,
S: 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