Enum git2::ReferenceType [] [src]

pub enum ReferenceType {
    Oid,
    Symbolic,
}

An enumeration of all possile kinds of references.

Variants

A reference which points at an object id.

A reference which points at another reference.

Methods

impl ReferenceType
[src]

[src]

Convert an object type to its string representation.

[src]

Convert a raw git_ref_t to a ReferenceType.

Trait Implementations

impl PartialEq for ReferenceType
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for ReferenceType
[src]

impl Copy for ReferenceType
[src]

impl Clone for ReferenceType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ReferenceType
[src]

[src]

Formats the value using the given formatter.

impl Display for ReferenceType
[src]

[src]

Formats the value using the given formatter. Read more