pub enum TargetLeafShape {
Absent,
EmptyDirectory,
NonEmptyDirectory,
Symlink,
NotDirectory,
}Expand description
Observed shape of the worktree leaf (caller supplies FS facts).
Variants§
Absent
Path does not exist.
EmptyDirectory
Real empty directory (non-symlink).
NonEmptyDirectory
Real non-empty directory.
Symlink
Symlink leaf.
NotDirectory
Regular file or other non-directory.
Trait Implementations§
Source§impl Clone for TargetLeafShape
impl Clone for TargetLeafShape
Source§fn clone(&self) -> TargetLeafShape
fn clone(&self) -> TargetLeafShape
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TargetLeafShape
Source§impl Debug for TargetLeafShape
impl Debug for TargetLeafShape
impl Eq for TargetLeafShape
Source§impl PartialEq for TargetLeafShape
impl PartialEq for TargetLeafShape
impl StructuralPartialEq for TargetLeafShape
Auto Trait Implementations§
impl Freeze for TargetLeafShape
impl RefUnwindSafe for TargetLeafShape
impl Send for TargetLeafShape
impl Sync for TargetLeafShape
impl Unpin for TargetLeafShape
impl UnsafeUnpin for TargetLeafShape
impl UnwindSafe for TargetLeafShape
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