pub struct IgnoreGeneration;
Expand description
If this is used as a generational index, then the arena ignores generation
Trait Implementations§
Source§impl Clone for IgnoreGeneration
impl Clone for IgnoreGeneration
Source§fn clone(&self) -> IgnoreGeneration
fn clone(&self) -> IgnoreGeneration
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 IgnoreGeneration
impl Debug for IgnoreGeneration
Source§impl FixedGenerationalIndex for IgnoreGeneration
impl FixedGenerationalIndex for IgnoreGeneration
Source§fn first_generation() -> Self
fn first_generation() -> Self
Get an object representing the first possible generation
Source§fn generation_lt(&self, _other: &Self) -> bool
fn generation_lt(&self, _other: &Self) -> bool
Compare this generation with another.
Source§impl GenerationalIndex for IgnoreGeneration
impl GenerationalIndex for IgnoreGeneration
Source§fn increment_generation(&mut self)
fn increment_generation(&mut self)
Increment the generation of this object. May wrap or panic on overflow depending on type.
Source§impl Hash for IgnoreGeneration
impl Hash for IgnoreGeneration
Source§impl Ord for IgnoreGeneration
impl Ord for IgnoreGeneration
Source§fn cmp(&self, other: &IgnoreGeneration) -> Ordering
fn cmp(&self, other: &IgnoreGeneration) -> 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 IgnoreGeneration
impl PartialEq for IgnoreGeneration
Source§impl PartialOrd for IgnoreGeneration
impl PartialOrd for IgnoreGeneration
impl Copy for IgnoreGeneration
impl Eq for IgnoreGeneration
impl IgnoredGeneration for IgnoreGeneration
impl StructuralPartialEq for IgnoreGeneration
Auto Trait Implementations§
impl Freeze for IgnoreGeneration
impl RefUnwindSafe for IgnoreGeneration
impl Send for IgnoreGeneration
impl Sync for IgnoreGeneration
impl Unpin for IgnoreGeneration
impl UnwindSafe for IgnoreGeneration
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