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