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