pub struct Enabled<T = ()>(pub T);Expand description
Indicates that the hardware component is enabled
This usually indicates that the hardware has been initialized and can be used for its intended purpose. Contains an optional payload that APIs can use to keep data that is only available while enabled.
Tuple Fields§
§0: TAuto Trait Implementations§
impl<T> Freeze for Enabled<T>where
T: Freeze,
impl<T> RefUnwindSafe for Enabled<T>where
T: RefUnwindSafe,
impl<T> Send for Enabled<T>where
T: Send,
impl<T> Sync for Enabled<T>where
T: Sync,
impl<T> Unpin for Enabled<T>where
T: Unpin,
impl<T> UnwindSafe for Enabled<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