pub enum RefspecDirection {
Fetch,
Push,
}Expand description
Refspec direction vocabulary.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for RefspecDirection
impl Clone for RefspecDirection
Source§fn clone(&self) -> RefspecDirection
fn clone(&self) -> RefspecDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RefspecDirection
impl Debug for RefspecDirection
Source§impl Display for RefspecDirection
impl Display for RefspecDirection
Source§impl FromStr for RefspecDirection
impl FromStr for RefspecDirection
Source§impl Hash for RefspecDirection
impl Hash for RefspecDirection
Source§impl Ord for RefspecDirection
impl Ord for RefspecDirection
Source§fn cmp(&self, other: &RefspecDirection) -> Ordering
fn cmp(&self, other: &RefspecDirection) -> Ordering
1.21.0 (const: unstable) · 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 for RefspecDirection
impl PartialEq for RefspecDirection
Source§fn eq(&self, other: &RefspecDirection) -> bool
fn eq(&self, other: &RefspecDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for RefspecDirection
impl PartialOrd for RefspecDirection
impl Copy for RefspecDirection
impl Eq for RefspecDirection
impl StructuralPartialEq for RefspecDirection
Auto Trait Implementations§
impl Freeze for RefspecDirection
impl RefUnwindSafe for RefspecDirection
impl Send for RefspecDirection
impl Sync for RefspecDirection
impl Unpin for RefspecDirection
impl UnsafeUnpin for RefspecDirection
impl UnwindSafe for RefspecDirection
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