Struct gix_ref::PartialName
source · pub struct PartialName(_);
Expand description
A validated complete and fully qualified owned reference name, safe to use for all operations.
Implementations§
Trait Implementations§
source§impl AsRef<PartialNameRef> for PartialName
impl AsRef<PartialNameRef> for PartialName
source§fn as_ref(&self) -> &PartialNameRef
fn as_ref(&self) -> &PartialNameRef
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Borrow<PartialNameRef> for PartialName
impl Borrow<PartialNameRef> for PartialName
source§fn borrow(&self) -> &PartialNameRef
fn borrow(&self) -> &PartialNameRef
Immutably borrows from an owned value. Read more
source§impl Debug for PartialName
impl Debug for PartialName
source§impl Hash for PartialName
impl Hash for PartialName
source§impl Ord for PartialName
impl Ord for PartialName
source§fn cmp(&self, other: &PartialName) -> Ordering
fn cmp(&self, other: &PartialName) -> 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 PartialEq<PartialName> for PartialName
impl PartialEq<PartialName> for PartialName
source§fn eq(&self, other: &PartialName) -> bool
fn eq(&self, other: &PartialName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PartialName> for PartialName
impl PartialOrd<PartialName> for PartialName
source§fn partial_cmp(&self, other: &PartialName) -> Option<Ordering>
fn partial_cmp(&self, other: &PartialName) -> Option<Ordering>
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