Enum git2::BranchType
source · pub enum BranchType {
Local,
Remote,
}
Expand description
An enumeration for the possible types of branches
Variants§
Trait Implementations§
source§impl Clone for BranchType
impl Clone for BranchType
source§fn clone(&self) -> BranchType
fn clone(&self) -> BranchType
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 Debug for BranchType
impl Debug for BranchType
source§impl PartialEq for BranchType
impl PartialEq for BranchType
source§fn eq(&self, other: &BranchType) -> bool
fn eq(&self, other: &BranchType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BranchType
impl Eq for BranchType
impl StructuralPartialEq for BranchType
Auto Trait Implementations§
impl Freeze for BranchType
impl RefUnwindSafe for BranchType
impl Send for BranchType
impl Sync for BranchType
impl Unpin for BranchType
impl UnwindSafe for BranchType
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