pub struct NamespacePath(/* private fields */);Expand description
A lexical namespace path marker.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for NamespacePath
impl AsRef<str> for NamespacePath
Source§impl Clone for NamespacePath
impl Clone for NamespacePath
Source§fn clone(&self) -> NamespacePath
fn clone(&self) -> NamespacePath
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 NamespacePath
impl Debug for NamespacePath
Source§impl Display for NamespacePath
impl Display for NamespacePath
Source§impl Hash for NamespacePath
impl Hash for NamespacePath
Source§impl Ord for NamespacePath
impl Ord for NamespacePath
Source§fn cmp(&self, other: &NamespacePath) -> Ordering
fn cmp(&self, other: &NamespacePath) -> 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 NamespacePath
impl PartialEq for NamespacePath
Source§fn eq(&self, other: &NamespacePath) -> bool
fn eq(&self, other: &NamespacePath) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for NamespacePath
impl PartialOrd for NamespacePath
impl Eq for NamespacePath
impl StructuralPartialEq for NamespacePath
Auto Trait Implementations§
impl Freeze for NamespacePath
impl RefUnwindSafe for NamespacePath
impl Send for NamespacePath
impl Sync for NamespacePath
impl Unpin for NamespacePath
impl UnsafeUnpin for NamespacePath
impl UnwindSafe for NamespacePath
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