pub struct SimpleTypeKey(/* private fields */);Expand description
Simple type definition key
Trait Implementations§
Source§impl Clone for SimpleTypeKey
impl Clone for SimpleTypeKey
Source§fn clone(&self) -> SimpleTypeKey
fn clone(&self) -> SimpleTypeKey
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 moreimpl Copy for SimpleTypeKey
Source§impl Debug for SimpleTypeKey
impl Debug for SimpleTypeKey
Source§impl Default for SimpleTypeKey
impl Default for SimpleTypeKey
Source§fn default() -> SimpleTypeKey
fn default() -> SimpleTypeKey
Returns the “default value” for a type. Read more
impl Eq for SimpleTypeKey
Source§impl From<KeyData> for SimpleTypeKey
impl From<KeyData> for SimpleTypeKey
Source§impl From<SimpleTypeKey> for TypeKey
impl From<SimpleTypeKey> for TypeKey
Source§fn from(key: SimpleTypeKey) -> Self
fn from(key: SimpleTypeKey) -> Self
Converts to this type from the input type.
Source§impl Hash for SimpleTypeKey
impl Hash for SimpleTypeKey
Source§impl Key for SimpleTypeKey
impl Key for SimpleTypeKey
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 SimpleTypeKey
impl Ord for SimpleTypeKey
Source§fn cmp(&self, other: &SimpleTypeKey) -> Ordering
fn cmp(&self, other: &SimpleTypeKey) -> 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 SimpleTypeKey
impl PartialEq for SimpleTypeKey
Source§fn eq(&self, other: &SimpleTypeKey) -> bool
fn eq(&self, other: &SimpleTypeKey) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SimpleTypeKey
impl PartialOrd for SimpleTypeKey
impl StructuralPartialEq for SimpleTypeKey
Auto Trait Implementations§
impl Freeze for SimpleTypeKey
impl RefUnwindSafe for SimpleTypeKey
impl Send for SimpleTypeKey
impl Sync for SimpleTypeKey
impl Unpin for SimpleTypeKey
impl UnsafeUnpin for SimpleTypeKey
impl UnwindSafe for SimpleTypeKey
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