pub enum TextAutoResize {
Height,
WidthAndHeight,
Truncate,
}Variants§
Height
WidthAndHeight
Truncate
The text will be shortened and trailing text will be replaced with “…” if the text contents is larger than the bounds
Trait Implementations§
Source§impl Debug for TextAutoResize
impl Debug for TextAutoResize
Source§impl<'de> Deserialize<'de> for TextAutoResize
impl<'de> Deserialize<'de> for TextAutoResize
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TextAutoResize
impl RefUnwindSafe for TextAutoResize
impl Send for TextAutoResize
impl Sync for TextAutoResize
impl Unpin for TextAutoResize
impl UnwindSafe for TextAutoResize
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