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<BranchType> for BranchType
impl PartialEq<BranchType> 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 ==
.