pub struct ApbToken<A: ApbId> { /* private fields */ }Expand description
Singleton token that can be exchanged for an ApbClk
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 ApbId indicating which APB clock is
represented by this token. To enable the corresponding APB clock, use the
Apb::enable method.
Auto Trait Implementations
impl<A> RefUnwindSafe for ApbToken<A>where
    A: RefUnwindSafe,
impl<A> Send for ApbToken<A>where
    A: Send,
impl<A> Sync for ApbToken<A>where
    A: Sync,
impl<A> Unpin for ApbToken<A>where
    A: Unpin,
impl<A> UnwindSafe for ApbToken<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