pub enum WidthMode {
Wrap,
Truncate,
}Expand description
Horizontal overflow behavior applied by the renderer.
Variants§
Wrap
Continue content on subsequent visual rows.
Truncate
Keep one visual row per logical row and append an ellipsis when needed.
Trait Implementations§
impl Copy for WidthMode
impl Eq for WidthMode
impl StructuralPartialEq for WidthMode
Auto Trait Implementations§
impl Freeze for WidthMode
impl RefUnwindSafe for WidthMode
impl Send for WidthMode
impl Sync for WidthMode
impl Unpin for WidthMode
impl UnsafeUnpin for WidthMode
impl UnwindSafe for WidthMode
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