pub enum Workdir {
Inherit,
Worktree(String),
At(PathBuf),
Linked(LinkedWorktree),
}Variants§
Inherit
Worktree(String)
A git worktree of the parent’s project, by name.
At(PathBuf)
Linked(LinkedWorktree)
A worktree the caller made, with the git directory it found then.
Trait Implementations§
impl Eq for Workdir
impl StructuralPartialEq for Workdir
Auto Trait Implementations§
impl Forget for Workdir
impl Freeze for Workdir
impl Move for Workdir
impl RefUnwindSafe for Workdir
impl Send for Workdir
impl Sync for Workdir
impl Unpin for Workdir
impl UnsafeUnpin for Workdir
impl UnwindSafe for Workdir
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more