pub struct NameObject<'a>(pub &'a str);Expand description
A name object.
Tuple Fields§
§0: &'a strTrait Implementations§
Source§impl<'a> Debug for NameObject<'a>
impl<'a> Debug for NameObject<'a>
Source§impl<'a> Hash for NameObject<'a>
impl<'a> Hash for NameObject<'a>
Source§impl<'a> Ord for NameObject<'a>
impl<'a> Ord for NameObject<'a>
Source§fn cmp(&self, other: &NameObject<'a>) -> Ordering
fn cmp(&self, other: &NameObject<'a>) -> 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<'a> PartialEq for NameObject<'a>
impl<'a> PartialEq for NameObject<'a>
Source§impl<'a> PartialOrd for NameObject<'a>
impl<'a> PartialOrd for NameObject<'a>
impl<'a> Eq for NameObject<'a>
impl<'a> StructuralPartialEq for NameObject<'a>
Auto Trait Implementations§
impl<'a> Freeze for NameObject<'a>
impl<'a> RefUnwindSafe for NameObject<'a>
impl<'a> Send for NameObject<'a>
impl<'a> Sync for NameObject<'a>
impl<'a> Unpin for NameObject<'a>
impl<'a> UnwindSafe for NameObject<'a>
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