Struct git_ref::PartialNameRef [−][src]
pub struct PartialNameRef<'a>(_);
Expand description
A validated complete and fully qualified reference name, safe to use for all operations.
Implementations
Convert this name into the relative path possibly identifying the reference location. Note that it may be only a partial path though.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
type Error = Infallible
type Error = Infallible
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl<'a> RefUnwindSafe for PartialNameRef<'a>
impl<'a> Send for PartialNameRef<'a>
impl<'a> Sync for PartialNameRef<'a>
impl<'a> Unpin for PartialNameRef<'a>
impl<'a> UnwindSafe for PartialNameRef<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more