pub struct StdTimeSource;Expand description
Uses the host system clock when std is enabled.
Trait Implementations§
Source§impl Clone for StdTimeSource
impl Clone for StdTimeSource
Source§fn clone(&self) -> StdTimeSource
fn clone(&self) -> StdTimeSource
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 StdTimeSource
impl Debug for StdTimeSource
Source§impl Default for StdTimeSource
impl Default for StdTimeSource
Source§fn default() -> StdTimeSource
fn default() -> StdTimeSource
Returns the “default value” for a type. Read more
Source§impl TimeSource for StdTimeSource
Available on crate feature std only.
impl TimeSource for StdTimeSource
Available on crate feature
std only.impl Copy for StdTimeSource
Auto Trait Implementations§
impl Freeze for StdTimeSource
impl RefUnwindSafe for StdTimeSource
impl Send for StdTimeSource
impl Sync for StdTimeSource
impl Unpin for StdTimeSource
impl UnsafeUnpin for StdTimeSource
impl UnwindSafe for StdTimeSource
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