pub struct ArenaIndex { /* private fields */ }Expand description
An index into an arena with a generation counter for ABA safety.
Implementations§
Trait Implementations§
Source§impl Clone for ArenaIndex
impl Clone for ArenaIndex
Source§fn clone(&self) -> ArenaIndex
fn clone(&self) -> ArenaIndex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ArenaIndex
impl Debug for ArenaIndex
Source§impl Hash for ArenaIndex
impl Hash for ArenaIndex
Source§impl Ord for ArenaIndex
impl Ord for ArenaIndex
Source§fn cmp(&self, other: &ArenaIndex) -> Ordering
fn cmp(&self, other: &ArenaIndex) -> Ordering
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
Source§impl PartialEq for ArenaIndex
impl PartialEq for ArenaIndex
Source§fn eq(&self, other: &ArenaIndex) -> bool
fn eq(&self, other: &ArenaIndex) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ArenaIndex
impl PartialOrd for ArenaIndex
impl Copy for ArenaIndex
impl Eq for ArenaIndex
impl StructuralPartialEq for ArenaIndex
Auto Trait Implementations§
impl Freeze for ArenaIndex
impl RefUnwindSafe for ArenaIndex
impl Send for ArenaIndex
impl Sync for ArenaIndex
impl Unpin for ArenaIndex
impl UnsafeUnpin for ArenaIndex
impl UnwindSafe for ArenaIndex
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
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).