pub struct IndexEpoch(/* private fields */);Expand description
The epoch of a derived index representation.
Implementations§
Source§impl IndexEpoch
impl IndexEpoch
Source§impl IndexEpoch
impl IndexEpoch
Sourcepub const fn checked_next(self) -> Option<Self>
pub const fn checked_next(self) -> Option<Self>
Returns the next value, or None when the allocation space is exhausted.
Trait Implementations§
Source§impl Clone for IndexEpoch
impl Clone for IndexEpoch
impl Copy for IndexEpoch
Source§impl Debug for IndexEpoch
impl Debug for IndexEpoch
Source§impl Display for IndexEpoch
impl Display for IndexEpoch
impl Eq for IndexEpoch
Source§impl From<IndexEpoch> for u64
impl From<IndexEpoch> for u64
Source§fn from(value: IndexEpoch) -> Self
fn from(value: IndexEpoch) -> Self
Converts to this type from the input type.
Source§impl Hash for IndexEpoch
impl Hash for IndexEpoch
Source§impl Ord for IndexEpoch
impl Ord for IndexEpoch
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 PartialEq for IndexEpoch
impl PartialEq for IndexEpoch
Source§impl PartialOrd for IndexEpoch
impl PartialOrd for IndexEpoch
impl StructuralPartialEq for IndexEpoch
Auto Trait Implementations§
impl Freeze for IndexEpoch
impl RefUnwindSafe for IndexEpoch
impl Send for IndexEpoch
impl Sync for IndexEpoch
impl Unpin for IndexEpoch
impl UnsafeUnpin for IndexEpoch
impl UnwindSafe for IndexEpoch
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