pub struct DisableRemoval;
Expand description
If this is used as a generational index, then the arena is no longer generational and does not allow element removal
Trait Implementations§
Source§impl Clone for DisableRemoval
impl Clone for DisableRemoval
Source§fn clone(&self) -> DisableRemoval
fn clone(&self) -> DisableRemoval
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 DisableRemoval
impl Debug for DisableRemoval
Source§impl FixedGenerationalIndex for DisableRemoval
impl FixedGenerationalIndex for DisableRemoval
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 Hash for DisableRemoval
impl Hash for DisableRemoval
Source§impl Ord for DisableRemoval
impl Ord for DisableRemoval
Source§fn cmp(&self, other: &DisableRemoval) -> Ordering
fn cmp(&self, other: &DisableRemoval) -> 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 DisableRemoval
impl PartialEq for DisableRemoval
Source§impl PartialOrd for DisableRemoval
impl PartialOrd for DisableRemoval
impl Copy for DisableRemoval
impl Eq for DisableRemoval
impl IgnoredGeneration for DisableRemoval
impl StructuralPartialEq for DisableRemoval
Auto Trait Implementations§
impl Freeze for DisableRemoval
impl RefUnwindSafe for DisableRemoval
impl Send for DisableRemoval
impl Sync for DisableRemoval
impl Unpin for DisableRemoval
impl UnwindSafe for DisableRemoval
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