pub struct IncrementingFakeTime { /* private fields */ }
Expand description
IncrementingFakeTime automatically increments itself by increment_by
before each call to self.now()
.
Implementations§
Trait Implementations§
Source§impl Debug for IncrementingFakeTime
impl Debug for IncrementingFakeTime
Source§impl TimeSource for IncrementingFakeTime
impl TimeSource for IncrementingFakeTime
Auto Trait Implementations§
impl Freeze for IncrementingFakeTime
impl !RefUnwindSafe for IncrementingFakeTime
impl Send for IncrementingFakeTime
impl Sync for IncrementingFakeTime
impl Unpin for IncrementingFakeTime
impl !UnwindSafe for IncrementingFakeTime
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