pub struct NameRef<'a>(/* private fields */);
Expand description
Holds a validated attribute name as a reference
Implementations§
Trait Implementations§
Source§impl<'a> Ord for NameRef<'a>
impl<'a> Ord for NameRef<'a>
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> PartialOrd for NameRef<'a>
impl<'a> PartialOrd for NameRef<'a>
impl<'a> Copy for NameRef<'a>
impl<'a> Eq for NameRef<'a>
impl<'a> StructuralPartialEq for NameRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for NameRef<'a>
impl<'a> RefUnwindSafe for NameRef<'a>
impl<'a> Send for NameRef<'a>
impl<'a> Sync for NameRef<'a>
impl<'a> Unpin for NameRef<'a>
impl<'a> UnwindSafe for NameRef<'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