pub struct WorldGenerationId(pub u64);Expand description
Tracks arena generation for snapshot identity.
Incremented each time a new snapshot is published, enabling ObsPlan invalidation detection.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for WorldGenerationId
impl Clone for WorldGenerationId
Source§fn clone(&self) -> WorldGenerationId
fn clone(&self) -> WorldGenerationId
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 WorldGenerationId
impl Debug for WorldGenerationId
Source§impl Display for WorldGenerationId
impl Display for WorldGenerationId
Source§impl From<u64> for WorldGenerationId
impl From<u64> for WorldGenerationId
Source§impl Hash for WorldGenerationId
impl Hash for WorldGenerationId
Source§impl Ord for WorldGenerationId
impl Ord for WorldGenerationId
Source§fn cmp(&self, other: &WorldGenerationId) -> Ordering
fn cmp(&self, other: &WorldGenerationId) -> 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 WorldGenerationId
impl PartialEq for WorldGenerationId
Source§impl PartialOrd for WorldGenerationId
impl PartialOrd for WorldGenerationId
impl Copy for WorldGenerationId
impl Eq for WorldGenerationId
impl StructuralPartialEq for WorldGenerationId
Auto Trait Implementations§
impl Freeze for WorldGenerationId
impl RefUnwindSafe for WorldGenerationId
impl Send for WorldGenerationId
impl Sync for WorldGenerationId
impl Unpin for WorldGenerationId
impl UnwindSafe for WorldGenerationId
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