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