pub enum Truncate {
Clip,
Ellipsis,
Wrap,
}Expand description
Text truncation policy for table columns.
Variants§
Clip
Hard clip at column boundary without ellipsis.
Ellipsis
Truncate with an ellipsis (… or ... for ASCII themes) when text exceeds column width.
Wrap
Wrap text across multiple lines up to TableTheme::row_height lines.
Trait Implementations§
impl Copy for Truncate
impl Eq for Truncate
impl StructuralPartialEq for Truncate
Auto Trait Implementations§
impl Freeze for Truncate
impl RefUnwindSafe for Truncate
impl Send for Truncate
impl Sync for Truncate
impl Unpin for Truncate
impl UnsafeUnpin for Truncate
impl UnwindSafe for Truncate
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