pub struct ChunkIdentifier(/* private fields */);
Expand description
The unique identifier of a chunk in a LinkedChunk
.
It is not the position of the chunk, just its unique identifier.
Learn more with [ChunkIdentifierGenerator
].
Implementations§
Trait Implementations§
Source§impl Clone for ChunkIdentifier
impl Clone for ChunkIdentifier
Source§fn clone(&self) -> ChunkIdentifier
fn clone(&self) -> ChunkIdentifier
Returns a copy 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 ChunkIdentifier
impl Debug for ChunkIdentifier
Source§impl Hash for ChunkIdentifier
impl Hash for ChunkIdentifier
Source§impl Ord for ChunkIdentifier
impl Ord for ChunkIdentifier
Source§fn cmp(&self, other: &ChunkIdentifier) -> Ordering
fn cmp(&self, other: &ChunkIdentifier) -> 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<u64> for ChunkIdentifier
impl PartialEq<u64> for ChunkIdentifier
Source§impl PartialEq for ChunkIdentifier
impl PartialEq for ChunkIdentifier
Source§impl PartialOrd for ChunkIdentifier
impl PartialOrd for ChunkIdentifier
impl Copy for ChunkIdentifier
impl Eq for ChunkIdentifier
impl StructuralPartialEq for ChunkIdentifier
Auto Trait Implementations§
impl Freeze for ChunkIdentifier
impl RefUnwindSafe for ChunkIdentifier
impl Send for ChunkIdentifier
impl Sync for ChunkIdentifier
impl Unpin for ChunkIdentifier
impl UnwindSafe for ChunkIdentifier
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<T> CompatExt for T
impl<T> CompatExt for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
Source§fn consume_handle(handle: Handle) -> Arc<T>
fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>