pub struct DefaultKey(/* private fields */);Expand description
The default slot map key type.
Trait Implementations§
Source§impl Clone for DefaultKey
 
impl Clone for DefaultKey
Source§fn clone(&self) -> DefaultKey
 
fn clone(&self) -> DefaultKey
Returns a duplicate 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 DefaultKey
 
impl Debug for DefaultKey
Source§impl Default for DefaultKey
 
impl Default for DefaultKey
Source§fn default() -> DefaultKey
 
fn default() -> DefaultKey
Returns the “default value” for a type. Read more
Source§impl From<KeyData> for DefaultKey
 
impl From<KeyData> for DefaultKey
Source§impl Hash for DefaultKey
 
impl Hash for DefaultKey
Source§impl Key for DefaultKey
 
impl Key for DefaultKey
Source§fn null() -> Self
 
fn null() -> Self
Creates a new key that is always invalid and distinct from any non-null
key. A null key can only be created through this method (or default
initialization of keys made with 
new_key_type!, which calls this
method). Read moreSource§impl Ord for DefaultKey
 
impl Ord for DefaultKey
Source§fn cmp(&self, other: &DefaultKey) -> Ordering
 
fn cmp(&self, other: &DefaultKey) -> 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 DefaultKey
 
impl PartialEq for DefaultKey
Source§impl PartialOrd for DefaultKey
 
impl PartialOrd for DefaultKey
impl Copy for DefaultKey
impl Eq for DefaultKey
impl StructuralPartialEq for DefaultKey
Auto Trait Implementations§
impl Freeze for DefaultKey
impl RefUnwindSafe for DefaultKey
impl Send for DefaultKey
impl Sync for DefaultKey
impl Unpin for DefaultKey
impl UnwindSafe for DefaultKey
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