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: TTrait Implementations§
impl Ctimer<Enabled> for Ctimer0<Enabled>
impl Ctimer<Enabled> for Ctimer1<Enabled>
impl Ctimer<Enabled> for Ctimer2<Enabled>
impl Ctimer<Enabled> for Ctimer3<Enabled>
impl Ctimer<Enabled> for Ctimer4<Enabled>
impl InitState for Enabled
Auto 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