pub enum Wrap {
NoWrap,
Character,
Whitespace,
}Expand description
The way in which text should wrap around the width.
Variants§
NoWrap
Character
Wrap at the first character that exceeds the width.
Whitespace
Wrap at the first word that exceeds the width.
Trait Implementations§
impl Copy for Wrap
impl StructuralPartialEq for Wrap
Auto Trait Implementations§
impl Freeze for Wrap
impl RefUnwindSafe for Wrap
impl Send for Wrap
impl Sync for Wrap
impl Unpin for Wrap
impl UnwindSafe for Wrap
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