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 more
sourceimpl 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TreeLineType) -> bool
fn ne(&self, other: &TreeLineType) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more