pub enum WrapMode {
None,
Char,
Word,
}Expand description
Soft wrapping mode.
Variants§
None
No soft wrapping (each logical line is a single visual line).
Char
Wrap at character boundaries (current behavior).
Word
Prefer wrapping at word boundaries (whitespace), falling back to character wrap.
Trait Implementations§
impl Copy for WrapMode
impl Eq for WrapMode
impl StructuralPartialEq for WrapMode
Auto Trait Implementations§
impl Freeze for WrapMode
impl RefUnwindSafe for WrapMode
impl Send for WrapMode
impl Sync for WrapMode
impl Unpin for WrapMode
impl UnsafeUnpin for WrapMode
impl UnwindSafe for WrapMode
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