pub struct AhbToken<A: AhbId> { /* private fields */ }
Expand description
Singleton token that can be exchanged for an AhbClk
As explained in the clock
module documentation, instances of
various Token
types can be exchanged for actual clock types. They
represent clocks that are disabled.
The type parameter A
is an AhbId
indicating which AHB clock is
represented by this token. To enable the corresponding AHB clock, use the
Ahb::enable
method.
Auto Trait Implementations
impl<A> RefUnwindSafe for AhbToken<A>where
A: RefUnwindSafe,
impl<A> Send for AhbToken<A>where
A: Send,
impl<A> Sync for AhbToken<A>where
A: Sync,
impl<A> Unpin for AhbToken<A>where
A: Unpin,
impl<A> UnwindSafe for AhbToken<A>where
A: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more