pub struct WorktreeConfig {
pub worktree_dir: PathBuf,
}Expand description
Configuration for worktree operations.
Fields§
§worktree_dir: PathBufDirectory where worktrees are created (default: .worktrees).
Implementations§
Trait Implementations§
Source§impl Clone for WorktreeConfig
impl Clone for WorktreeConfig
Source§fn clone(&self) -> WorktreeConfig
fn clone(&self) -> WorktreeConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorktreeConfig
impl Debug for WorktreeConfig
Auto Trait Implementations§
impl Freeze for WorktreeConfig
impl RefUnwindSafe for WorktreeConfig
impl Send for WorktreeConfig
impl Sync for WorktreeConfig
impl Unpin for WorktreeConfig
impl UnsafeUnpin for WorktreeConfig
impl UnwindSafe for WorktreeConfig
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