pub struct TextFormatter { /* private fields */ }Expand description
Plain text formatter - strips all markup
Implementations§
Source§impl TextFormatter
impl TextFormatter
pub fn new() -> Self
pub fn with_options(preserve_empty_lines: bool) -> Self
Trait Implementations§
Source§impl Default for TextFormatter
impl Default for TextFormatter
Auto Trait Implementations§
impl Freeze for TextFormatter
impl RefUnwindSafe for TextFormatter
impl Send for TextFormatter
impl Sync for TextFormatter
impl Unpin for TextFormatter
impl UnsafeUnpin for TextFormatter
impl UnwindSafe for TextFormatter
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