pub struct Ticks(pub i64);Expand description
A point or duration in time, in integer ticks.
Integer ticks keep arithmetic deterministic across targets.
Tuple Fields§
§0: i64Trait Implementations§
impl Copy for Ticks
impl Eq for Ticks
Source§impl Ord for Ticks
impl Ord for Ticks
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Ticks
impl PartialOrd for Ticks
impl StructuralPartialEq for Ticks
Auto Trait Implementations§
impl Forget for Ticks
impl Freeze for Ticks
impl Move for Ticks
impl RefUnwindSafe for Ticks
impl Send for Ticks
impl Sync for Ticks
impl Unpin for Ticks
impl UnsafeUnpin for Ticks
impl UnwindSafe for Ticks
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