pub enum TextOverflow {
Truncate,
None,
Break,
}Expand description
What happens to text that does not fit inside its box.
Variants§
Truncate
The text is truncated with an ellipsis.
None
The text is hidden entirely.
Break
The text overflows its box without being cut.
Trait Implementations§
Source§impl Clone for TextOverflow
impl Clone for TextOverflow
impl Copy for TextOverflow
Source§impl Debug for TextOverflow
impl Debug for TextOverflow
Source§impl Default for TextOverflow
impl Default for TextOverflow
impl Eq for TextOverflow
Source§impl Hash for TextOverflow
impl Hash for TextOverflow
Source§impl PartialEq for TextOverflow
impl PartialEq for TextOverflow
impl StructuralPartialEq for TextOverflow
Auto Trait Implementations§
impl Freeze for TextOverflow
impl RefUnwindSafe for TextOverflow
impl Send for TextOverflow
impl Sync for TextOverflow
impl Unpin for TextOverflow
impl UnsafeUnpin for TextOverflow
impl UnwindSafe for TextOverflow
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