Struct slotmap::DefaultKey [−][src]
#[repr(transparent)]pub struct DefaultKey(_);
Expand description
The default slot map key type.
Trait Implementations
Returns the “default value” for a type. Read more
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 more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for DefaultKey
impl Send for DefaultKey
impl Sync for DefaultKey
impl Unpin for DefaultKey
impl UnwindSafe for DefaultKey
Blanket Implementations
Mutably borrows from an owned value. Read more