pub enum TextVertOverflowType {
Overflow,
Ellipsis,
Clip,
}Expand description
This simple type specifies the text vertical overflow.
Variants§
Overflow
Overflow the text and pay no attention to top and bottom barriers.
Ellipsis
Pay attention to top and bottom barriers. Use an ellipsis to denote that there is text which is not visible.
Clip
Pay attention to top and bottom barriers. Provide no indication that there is text which is not visible.
Trait Implementations§
Source§impl Clone for TextVertOverflowType
impl Clone for TextVertOverflowType
Source§fn clone(&self) -> TextVertOverflowType
fn clone(&self) -> TextVertOverflowType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TextVertOverflowType
impl Debug for TextVertOverflowType
Source§impl FromStr for TextVertOverflowType
impl FromStr for TextVertOverflowType
impl Copy for TextVertOverflowType
Auto Trait Implementations§
impl Freeze for TextVertOverflowType
impl RefUnwindSafe for TextVertOverflowType
impl Send for TextVertOverflowType
impl Sync for TextVertOverflowType
impl Unpin for TextVertOverflowType
impl UnwindSafe for TextVertOverflowType
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