Enum broot::tree::TreeLineType
source · pub enum TreeLineType {
File,
Dir,
BrokenSymLink(String),
SymLink {
direct_target: String,
final_is_dir: bool,
final_target: PathBuf,
},
Pruning,
}
Expand description
The type of a line which can be displayed as part of a tree
Variants§
Implementations§
Trait Implementations§
source§impl Clone for TreeLineType
impl Clone for TreeLineType
source§fn clone(&self) -> TreeLineType
fn clone(&self) -> TreeLineType
Returns a copy 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 TreeLineType
impl Debug for TreeLineType
source§impl PartialEq<TreeLineType> for TreeLineType
impl PartialEq<TreeLineType> for TreeLineType
source§fn eq(&self, other: &TreeLineType) -> bool
fn eq(&self, other: &TreeLineType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TreeLineType
Auto Trait Implementations§
impl RefUnwindSafe for TreeLineType
impl Send for TreeLineType
impl Sync for TreeLineType
impl Unpin for TreeLineType
impl UnwindSafe for TreeLineType
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