Struct gix_attributes::NameRef
source · 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> PartialEq<NameRef<'a>> for NameRef<'a>
impl<'a> PartialEq<NameRef<'a>> for NameRef<'a>
source§impl<'a> PartialOrd<NameRef<'a>> for NameRef<'a>
impl<'a> PartialOrd<NameRef<'a>> for NameRef<'a>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<'a> Copy for NameRef<'a>
impl<'a> Eq for NameRef<'a>
impl<'a> StructuralEq for NameRef<'a>
impl<'a> StructuralPartialEq for NameRef<'a>
Auto Trait Implementations§
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