Enum git2::ReferenceType
[−]
[src]
pub enum ReferenceType { Oid, Symbolic, }
An enumeration of all possile kinds of references.
Variants
Oid
A reference which points at an object id.
Symbolic
A reference which points at another reference.
Methods
impl ReferenceType
[src]
fn str(&self) -> &'static str
[src]
Convert an object type to its string representation.
fn from_raw(raw: git_ref_t) -> Option<ReferenceType>
[src]
Convert a raw git_ref_t to a ReferenceType.
Trait Implementations
impl PartialEq for ReferenceType
[src]
fn eq(&self, __arg_0: &ReferenceType) -> bool
[src]
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]
This method tests for !=
.
impl Eq for ReferenceType
[src]
impl Copy for ReferenceType
[src]
impl Clone for ReferenceType
[src]
fn clone(&self) -> ReferenceType
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more