Enum git2::BranchType [−][src]
pub enum BranchType { Local, Remote, }
An enumeration for the possible types of branches
Variants
Local
A local branch not on a remote.
Remote
A branch for a remote.
Trait Implementations
impl PartialEq for BranchType
[src]
impl PartialEq for BranchType
fn eq(&self, other: &BranchType) -> bool
[src]
fn eq(&self, other: &BranchType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for BranchType
[src]
impl Eq for BranchType
impl Debug for BranchType
[src]
impl Debug for BranchType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for BranchType
[src]
impl Copy for BranchType
impl Clone for BranchType
[src]
impl Clone for BranchType
fn clone(&self) -> BranchType
[src]
fn clone(&self) -> BranchType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for BranchType
impl Send for BranchType
impl Sync for BranchType
impl Sync for BranchType