pub enum IndentHintStyle {
None,
Line,
Hook,
}Expand description
Style of the vertical line to show the indentation level.
Variants§
None
No indent hint is shown.
Line
A single vertical line is show for the full height of the directory.
v Foo
│ Alice
│ v Bar
│ │ Bob
│ │ v Baz
│ │ │ Clair
│ │ │ Denis
│ EmilHook
A vertical line is show with horizontal hooks to the child nodes of the directory.
v Foo
├─ Alice
├─ v Bar
│ ├─ Bob
│ └─ v Baz
│ ├─ Clair
│ └─ Denis
└─ EmilTrait Implementations§
Source§impl Clone for IndentHintStyle
impl Clone for IndentHintStyle
Source§fn clone(&self) -> IndentHintStyle
fn clone(&self) -> IndentHintStyle
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 moreSource§impl Debug for IndentHintStyle
impl Debug for IndentHintStyle
Source§impl Default for IndentHintStyle
impl Default for IndentHintStyle
Source§fn default() -> IndentHintStyle
fn default() -> IndentHintStyle
Returns the “default value” for a type. Read more
Source§impl PartialEq for IndentHintStyle
impl PartialEq for IndentHintStyle
Source§fn eq(&self, other: &IndentHintStyle) -> bool
fn eq(&self, other: &IndentHintStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for IndentHintStyle
impl Eq for IndentHintStyle
impl StructuralPartialEq for IndentHintStyle
Auto Trait Implementations§
impl Freeze for IndentHintStyle
impl RefUnwindSafe for IndentHintStyle
impl Send for IndentHintStyle
impl Sync for IndentHintStyle
impl Unpin for IndentHintStyle
impl UnsafeUnpin for IndentHintStyle
impl UnwindSafe for IndentHintStyle
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