pub enum LineWrapping {
Preserve,
Unwrap,
}Expand description
Configuration for soft line breaks in phrasing content.
Variants§
Preserve
Preserve soft line breaks from the syntax tree (the default).
Unwrap
Replace soft line breaks with spaces.
Explicit Markdown hard breaks, code, and block boundaries are preserved.
Trait Implementations§
Source§impl Clone for LineWrapping
impl Clone for LineWrapping
impl Copy for LineWrapping
Source§impl Debug for LineWrapping
impl Debug for LineWrapping
Source§impl Default for LineWrapping
impl Default for LineWrapping
impl Eq for LineWrapping
Source§impl PartialEq for LineWrapping
impl PartialEq for LineWrapping
impl StructuralPartialEq for LineWrapping
Auto Trait Implementations§
impl Freeze for LineWrapping
impl RefUnwindSafe for LineWrapping
impl Send for LineWrapping
impl Sync for LineWrapping
impl Unpin for LineWrapping
impl UnsafeUnpin for LineWrapping
impl UnwindSafe for LineWrapping
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