Enum garden::model::GitTreeType
source · [−]pub enum GitTreeType {
Parent,
Worktree(String),
Tree,
Bare,
}
Expand description
Represent the different types of Git worktree.
Variants
Parent
Worktree(String)
Tree
Bare
Trait Implementations
sourceimpl Clone for GitTreeType
impl Clone for GitTreeType
sourcefn clone(&self) -> GitTreeType
fn clone(&self) -> GitTreeType
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 GitTreeType
impl Debug for GitTreeType
sourceimpl Display for GitTreeType
impl Display for GitTreeType
sourceimpl PartialEq<GitTreeType> for GitTreeType
impl PartialEq<GitTreeType> for GitTreeType
sourcefn eq(&self, other: &GitTreeType) -> bool
fn eq(&self, other: &GitTreeType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for GitTreeType
Auto Trait Implementations
impl RefUnwindSafe for GitTreeType
impl Send for GitTreeType
impl Sync for GitTreeType
impl Unpin for GitTreeType
impl UnwindSafe for GitTreeType
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