Enum git::ReferenceKind
source · [−]pub enum ReferenceKind {
Branch,
Note,
Remote,
Tag,
Other,
}Expand description
Represents the kind of a reference
Variants
Branch
Reference is a branch.
Note
Reference is a note.
Remote
Reference is a remote.
Tag
Reference is a tag.
Other
Reference is another kind.
Trait Implementations
sourceimpl Clone for ReferenceKind
impl Clone for ReferenceKind
sourcefn clone(&self) -> ReferenceKind
fn clone(&self) -> ReferenceKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ReferenceKind
impl Debug for ReferenceKind
sourceimpl PartialEq<ReferenceKind> for ReferenceKind
impl PartialEq<ReferenceKind> for ReferenceKind
impl Copy for ReferenceKind
impl StructuralPartialEq for ReferenceKind
Auto Trait Implementations
impl RefUnwindSafe for ReferenceKind
impl Send for ReferenceKind
impl Sync for ReferenceKind
impl Unpin for ReferenceKind
impl UnwindSafe for ReferenceKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more