pub struct DummyClock { /* private fields */ }Expand description
Mutable monotonic test clock.
Implementations§
Trait Implementations§
Source§impl Clock for DummyClock
impl Clock for DummyClock
Source§impl Clone for DummyClock
impl Clone for DummyClock
Source§fn clone(&self) -> DummyClock
fn clone(&self) -> DummyClock
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 Default for DummyClock
impl Default for DummyClock
Source§fn default() -> DummyClock
fn default() -> DummyClock
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DummyClock
impl !RefUnwindSafe for DummyClock
impl !Send for DummyClock
impl !Sync for DummyClock
impl Unpin for DummyClock
impl !UnwindSafe for DummyClock
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)