pub enum Elide {
None,
Start,
Middle,
End,
}Expand description
Where text that doesn’t fit is cut, with “…” in its place.
Variants§
None
Not cut: the text keeps its width and overflows. The default.
Start
The start of the last line shown.
Middle
The middle of the last line shown.
End
The end of the last line shown.
Trait Implementations§
impl Copy for Elide
impl Eq for Elide
impl StructuralPartialEq for Elide
Auto Trait Implementations§
impl Forget for Elide
impl Freeze for Elide
impl Move for Elide
impl RefUnwindSafe for Elide
impl Send for Elide
impl Sync for Elide
impl Unpin for Elide
impl UnsafeUnpin for Elide
impl UnwindSafe for Elide
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