Enum below_render::FoldOption
source · [−]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
sourceimpl Clone for FoldOption
impl Clone for FoldOption
sourcefn clone(&self) -> FoldOption
fn clone(&self) -> FoldOption
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 moreAuto Trait Implementations
impl RefUnwindSafe for FoldOption
impl Send for FoldOption
impl Sync for FoldOption
impl Unpin for FoldOption
impl UnwindSafe for FoldOption
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