pub struct DwtInstant { /* private fields */ }Expand description
A TickInstant implementation
Trait Implementations§
Source§impl Clone for DwtInstant
impl Clone for DwtInstant
Source§fn clone(&self) -> DwtInstant
fn clone(&self) -> DwtInstant
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl TickInstant for DwtInstant
impl TickInstant for DwtInstant
fn frequency() -> KilohertzU32
fn now() -> Self
Source§fn tick_since(self, earlier: Self) -> u32
fn tick_since(self, earlier: Self) -> u32
Returns the amount of ticks elapsed from another instant to this one.
Source§fn tick_elapsed(self) -> u32
fn tick_elapsed(self) -> u32
Returns the amount of ticks elapsed since this instant.
impl Copy for DwtInstant
Auto Trait Implementations§
impl Freeze for DwtInstant
impl RefUnwindSafe for DwtInstant
impl Send for DwtInstant
impl Sync for DwtInstant
impl Unpin for DwtInstant
impl UnwindSafe for DwtInstant
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)