pub struct NoStdLinuxMonotonicClock;Expand description
Linux monotonic clock implementation backed by clock_gettime(CLOCK_MONOTONIC).
Implementations§
Source§impl NoStdLinuxMonotonicClock
impl NoStdLinuxMonotonicClock
Sourcepub const fn new() -> NoStdLinuxMonotonicClock
pub const fn new() -> NoStdLinuxMonotonicClock
Create a new NoStdLinuxMonotonicClock instance.
Trait Implementations§
Source§impl Clone for NoStdLinuxMonotonicClock
impl Clone for NoStdLinuxMonotonicClock
Source§fn clone(&self) -> NoStdLinuxMonotonicClock
fn clone(&self) -> NoStdLinuxMonotonicClock
Returns a duplicate of the value. Read more
1.0.0 · 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 NoStdLinuxMonotonicClock
impl Debug for NoStdLinuxMonotonicClock
Source§impl Default for NoStdLinuxMonotonicClock
impl Default for NoStdLinuxMonotonicClock
Source§fn default() -> NoStdLinuxMonotonicClock
fn default() -> NoStdLinuxMonotonicClock
Returns the “default value” for a type. Read more
impl Copy for NoStdLinuxMonotonicClock
Auto Trait Implementations§
impl Freeze for NoStdLinuxMonotonicClock
impl RefUnwindSafe for NoStdLinuxMonotonicClock
impl Send for NoStdLinuxMonotonicClock
impl Sync for NoStdLinuxMonotonicClock
impl Unpin for NoStdLinuxMonotonicClock
impl UnsafeUnpin for NoStdLinuxMonotonicClock
impl UnwindSafe for NoStdLinuxMonotonicClock
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