pub struct FuncKeyNamespace(/* private fields */);
Expand description
The namespace half of a FuncKey
.
This is an opaque combination of the key’s kind and module index, if any.
Implementations§
Trait Implementations§
Source§impl Clone for FuncKeyNamespace
impl Clone for FuncKeyNamespace
Source§fn clone(&self) -> FuncKeyNamespace
fn clone(&self) -> FuncKeyNamespace
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 FuncKeyNamespace
impl Debug for FuncKeyNamespace
Source§impl<'de> Deserialize<'de> for FuncKeyNamespace
impl<'de> Deserialize<'de> for FuncKeyNamespace
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<FuncKeyNamespace> for u32
impl From<FuncKeyNamespace> for u32
Source§fn from(ns: FuncKeyNamespace) -> Self
fn from(ns: FuncKeyNamespace) -> Self
Converts to this type from the input type.
Source§impl Hash for FuncKeyNamespace
impl Hash for FuncKeyNamespace
Source§impl Ord for FuncKeyNamespace
impl Ord for FuncKeyNamespace
Source§fn cmp(&self, other: &FuncKeyNamespace) -> Ordering
fn cmp(&self, other: &FuncKeyNamespace) -> 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 FuncKeyNamespace
impl PartialEq for FuncKeyNamespace
Source§impl PartialOrd for FuncKeyNamespace
impl PartialOrd for FuncKeyNamespace
Source§impl Serialize for FuncKeyNamespace
impl Serialize for FuncKeyNamespace
impl Copy for FuncKeyNamespace
impl Eq for FuncKeyNamespace
impl StructuralPartialEq for FuncKeyNamespace
Auto Trait Implementations§
impl Freeze for FuncKeyNamespace
impl RefUnwindSafe for FuncKeyNamespace
impl Send for FuncKeyNamespace
impl Sync for FuncKeyNamespace
impl Unpin for FuncKeyNamespace
impl UnwindSafe for FuncKeyNamespace
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.