pub struct SnapshotTick(/* private fields */);Expand description
A simulation tick number.
Ticks are monotonically increasing identifiers for simulation states.
Implementations§
Trait Implementations§
Source§impl Clone for SnapshotTick
impl Clone for SnapshotTick
Source§fn clone(&self) -> SnapshotTick
fn clone(&self) -> SnapshotTick
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 SnapshotTick
impl Debug for SnapshotTick
Source§impl Default for SnapshotTick
impl Default for SnapshotTick
Source§fn default() -> SnapshotTick
fn default() -> SnapshotTick
Returns the “default value” for a type. Read more
Source§impl From<SnapshotTick> for u32
impl From<SnapshotTick> for u32
Source§fn from(tick: SnapshotTick) -> Self
fn from(tick: SnapshotTick) -> Self
Converts to this type from the input type.
Source§impl From<u32> for SnapshotTick
impl From<u32> for SnapshotTick
Source§impl Hash for SnapshotTick
impl Hash for SnapshotTick
Source§impl Ord for SnapshotTick
impl Ord for SnapshotTick
Source§fn cmp(&self, other: &SnapshotTick) -> Ordering
fn cmp(&self, other: &SnapshotTick) -> Ordering
1.21.0 · 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
Source§impl PartialEq for SnapshotTick
impl PartialEq for SnapshotTick
Source§impl PartialOrd for SnapshotTick
impl PartialOrd for SnapshotTick
impl Copy for SnapshotTick
impl Eq for SnapshotTick
impl StructuralPartialEq for SnapshotTick
Auto Trait Implementations§
impl Freeze for SnapshotTick
impl RefUnwindSafe for SnapshotTick
impl Send for SnapshotTick
impl Sync for SnapshotTick
impl Unpin for SnapshotTick
impl UnwindSafe for SnapshotTick
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