Struct FixedTime
pub struct FixedTime {
pub time: Time,
/* private fields */
}Fields§
§time: TimeImplementations§
§impl FixedTime
impl FixedTime
pub const DEFAULT_STEP: u64 = 16_393_453u64
pub const fn new(step_nanos: u64) -> Self
pub fn accumulate(&mut self, virt_delta: Duration)
pub fn step(&mut self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FixedTime
impl RefUnwindSafe for FixedTime
impl Send for FixedTime
impl Sync for FixedTime
impl Unpin for FixedTime
impl UnwindSafe for FixedTime
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