Enum git_repository::commit::describe::SelectRef
source · pub enum SelectRef {
AnnotatedTags,
AllTags,
AllRefs,
}
Expand description
A selector to choose what kind of references should contribute to names.
Variants§
AnnotatedTags
Only use annotated tags for names.
AllTags
Use all tags for names, annotated or plain reference.
AllRefs
Use all references, including local branch names.
Trait Implementations§
source§impl Ord for SelectRef
impl Ord for SelectRef
source§impl PartialEq<SelectRef> for SelectRef
impl PartialEq<SelectRef> for SelectRef
source§impl PartialOrd<SelectRef> for SelectRef
impl PartialOrd<SelectRef> for SelectRef
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 Copy for SelectRef
impl Eq for SelectRef
impl StructuralEq for SelectRef
impl StructuralPartialEq for SelectRef
Auto Trait Implementations§
impl RefUnwindSafe for SelectRef
impl Send for SelectRef
impl Sync for SelectRef
impl Unpin for SelectRef
impl UnwindSafe for SelectRef
Blanket Implementations§
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more