pub struct StaticTimeSource(pub u64);Expand description
Fixed timestamp for tests or devices without an RTC.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for StaticTimeSource
impl Clone for StaticTimeSource
Source§fn clone(&self) -> StaticTimeSource
fn clone(&self) -> StaticTimeSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StaticTimeSource
impl Debug for StaticTimeSource
Source§impl TimeSource for StaticTimeSource
impl TimeSource for StaticTimeSource
impl Copy for StaticTimeSource
Auto Trait Implementations§
impl Freeze for StaticTimeSource
impl RefUnwindSafe for StaticTimeSource
impl Send for StaticTimeSource
impl Sync for StaticTimeSource
impl Unpin for StaticTimeSource
impl UnsafeUnpin for StaticTimeSource
impl UnwindSafe for StaticTimeSource
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