pub enum FoldOption {
Name,
Path,
}
Expand description
Specifies how a long string is folded to fit into a shorter width.
Variants§
Name
Starts elision from first non-alphanumeric character.
Path
Starts elision from first subdirectory (second ‘/’ as we skip root).
Trait Implementations§
Source§impl Clone for FoldOption
impl Clone for FoldOption
Source§fn clone(&self) -> FoldOption
fn clone(&self) -> FoldOption
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for FoldOption
impl RefUnwindSafe for FoldOption
impl Send for FoldOption
impl Sync for FoldOption
impl Unpin for FoldOption
impl UnwindSafe for FoldOption
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