pub enum Overflow {
Wrap,
Ellipsis,
Truncate,
Visible,
}Expand description
Overflow behavior when text exceeds available width.
Variants§
Wrap
Wrap to next line (default)
Ellipsis
Truncate with ellipsis
Truncate
Hard truncate without indicator
Visible
Allow overflow
Trait Implementations§
impl Copy for Overflow
impl Eq for Overflow
impl StructuralPartialEq for Overflow
Auto Trait Implementations§
impl Freeze for Overflow
impl RefUnwindSafe for Overflow
impl Send for Overflow
impl Sync for Overflow
impl Unpin for Overflow
impl UnwindSafe for Overflow
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