pub enum Ellipsis {
None,
Start,
Middle,
End,
}Expand description
The ellipsis strategy of some text.
Variants§
None
No ellipsis.
This is the default.
Start
Ellipsize the start of the last visual line in the text.
Middle
Ellipsize the middle of the last visual line in the text.
End
Ellipsize the end of the last visual line in the text.
Trait Implementations§
impl Copy for Ellipsis
impl Eq for Ellipsis
impl StructuralPartialEq for Ellipsis
Auto Trait Implementations§
impl Freeze for Ellipsis
impl RefUnwindSafe for Ellipsis
impl Send for Ellipsis
impl Sync for Ellipsis
impl Unpin for Ellipsis
impl UnsafeUnpin for Ellipsis
impl UnwindSafe for Ellipsis
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