Enum gix_refspec::Instruction
source · pub enum Instruction<'a> {
Push(Push<'a>),
Fetch(Fetch<'a>),
}
Expand description
Tells what to do and is derived from a RefSpec
.
Variants§
Implementations§
source§impl Instruction<'_>
impl Instruction<'_>
Trait Implementations§
source§impl<'a> Clone for Instruction<'a>
impl<'a> Clone for Instruction<'a>
source§fn clone(&self) -> Instruction<'a>
fn clone(&self) -> Instruction<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for Instruction<'a>
impl<'a> Debug for Instruction<'a>
source§impl<'a> Hash for Instruction<'a>
impl<'a> Hash for Instruction<'a>
source§impl<'a> Ord for Instruction<'a>
impl<'a> Ord for Instruction<'a>
source§fn cmp(&self, other: &Instruction<'a>) -> Ordering
fn cmp(&self, other: &Instruction<'a>) -> 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<'a> PartialEq for Instruction<'a>
impl<'a> PartialEq for Instruction<'a>
source§impl<'a> PartialOrd for Instruction<'a>
impl<'a> PartialOrd for Instruction<'a>
impl<'a> Copy for Instruction<'a>
impl<'a> Eq for Instruction<'a>
impl<'a> StructuralPartialEq for Instruction<'a>
Auto Trait Implementations§
impl<'a> Freeze for Instruction<'a>
impl<'a> RefUnwindSafe for Instruction<'a>
impl<'a> Send for Instruction<'a>
impl<'a> Sync for Instruction<'a>
impl<'a> Unpin for Instruction<'a>
impl<'a> UnwindSafe for Instruction<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)