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 Clone for BranchType
[src]

fn clone(&self) -> BranchType

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for BranchType
[src]

impl Debug for BranchType
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Eq for BranchType
[src]

impl PartialEq for BranchType
[src]

fn eq(&self, __arg_0: &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

This method tests for !=.