pub enum TextFit {
None,
Shrink,
Resize,
}Expand description
Text auto-fit behavior for a text box.
Variants§
None
Do not auto-fit text.
Shrink
Shrink text font size to fit within the fixed text box.
Resize
Resize the text box to fit its content.
Trait Implementations§
impl StructuralPartialEq for TextFit
Auto Trait Implementations§
impl Freeze for TextFit
impl RefUnwindSafe for TextFit
impl Send for TextFit
impl Sync for TextFit
impl Unpin for TextFit
impl UnsafeUnpin for TextFit
impl UnwindSafe for TextFit
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