pub enum TextOverflow {
Clip,
Ellipsis,
}Expand description
What a widget does with a label too wide for its space.
Variants§
Clip
Paint the label as the widget always has, cut off at the edge of its space.
Ellipsis
Paint the label on one line, ending in “…” where it is cut, as an
ElidedLine does.
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 PartialEq for TextOverflow
impl PartialEq for TextOverflow
impl StructuralPartialEq for TextOverflow
Auto Trait Implementations§
impl Forget for TextOverflow
impl Freeze for TextOverflow
impl Move 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