#[repr(u32)]pub enum TextOverflow {
Clip = 0,
Elide = 1,
}
Expand description
This enum describes the how the text appear if it is too wide to fit in the Text
width.
Variants§
Trait Implementations§
Source§impl Clone for TextOverflow
impl Clone for TextOverflow
Source§fn clone(&self) -> TextOverflow
fn clone(&self) -> TextOverflow
Returns a copy 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 TextOverflow
impl Debug for TextOverflow
Source§impl Default for TextOverflow
impl Default for TextOverflow
Source§impl Display for TextOverflow
impl Display for TextOverflow
Source§impl FromStr for TextOverflow
impl FromStr for TextOverflow
Source§impl Hash for TextOverflow
impl Hash for TextOverflow
Source§impl PartialEq for TextOverflow
impl PartialEq for TextOverflow
Source§impl TryFrom<&str> for TextOverflow
impl TryFrom<&str> for TextOverflow
impl Copy for TextOverflow
impl Eq 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Converts the given value to a
SharedString
.