Enum git_ref_format_core::lit::KnownLit
source · pub enum KnownLit {
Refs,
Heads,
Namespaces,
Remotes,
Tags,
Notes,
}
Expand description
All known literal RefStr
s.
Variants§
Implementations§
Trait Implementations§
source§impl Ord for KnownLit
impl Ord for KnownLit
source§impl PartialEq<KnownLit> for KnownLit
impl PartialEq<KnownLit> for KnownLit
source§impl PartialOrd<KnownLit> for KnownLit
impl PartialOrd<KnownLit> for KnownLit
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 KnownLit
impl Eq for KnownLit
impl StructuralEq for KnownLit
impl StructuralPartialEq for KnownLit
Auto Trait Implementations§
impl RefUnwindSafe for KnownLit
impl Send for KnownLit
impl Sync for KnownLit
impl Unpin for KnownLit
impl UnwindSafe for KnownLit
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