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
File
Dir
BrokenSymLink(String)
SymLink
Pruning
Implementations
Trait Implementations
sourceimpl Clone for TreeLineType
impl Clone for TreeLineType
sourcefn clone(&self) -> TreeLineType
fn clone(&self) -> TreeLineType
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 moresourceimpl Debug for TreeLineType
impl Debug for TreeLineType
sourceimpl PartialEq<TreeLineType> for TreeLineType
impl PartialEq<TreeLineType> for TreeLineType
sourcefn eq(&self, other: &TreeLineType) -> bool
fn eq(&self, other: &TreeLineType) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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