Struct git_attributes::NameRef
source · pub struct NameRef<'a>(_);
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 more