pub enum TextWrap {
NoWrap,
Wrap,
WordWrap,
}
Expand description
How to wrap text
Variants§
NoWrap
Don’t wrap text at all (fastest)
Wrap
Wrap text per character
WordWrap
Try to keep words on the same line (slowest)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextWrap
impl RefUnwindSafe for TextWrap
impl Send for TextWrap
impl Sync for TextWrap
impl Unpin for TextWrap
impl UnwindSafe for TextWrap
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