pub enum TreePart {
Edge,
Line,
Corner,
Blank,
}Expand description
A tree part is a single character in the tree structure.
It can be either an edge, a line, a corner, or a blank space.
Variants§
Edge
Rightmost column, not the last in the directory.
Line
Not the rightmost column, and the directory has not finished yet.
Corner
Rightmost column, and the last in the directory.
Blank
Not the rightmost column, and the directory has finished.
Implementations§
Trait Implementations§
impl Copy for TreePart
impl Eq for TreePart
impl StructuralPartialEq for TreePart
Auto Trait Implementations§
impl Freeze for TreePart
impl RefUnwindSafe for TreePart
impl Send for TreePart
impl Sync for TreePart
impl Unpin for TreePart
impl UnwindSafe for TreePart
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.