pub enum PrintMode {
None,
Escape,
QuoteEscape,
}Expand description
Output formatting mode for the writer.
Variants§
None
No special formatting
Escape
Escape special characters
QuoteEscape
Quote and escape special characters
Trait Implementations§
impl Copy for PrintMode
impl StructuralPartialEq for PrintMode
Auto Trait Implementations§
impl Freeze for PrintMode
impl RefUnwindSafe for PrintMode
impl Send for PrintMode
impl Sync for PrintMode
impl Unpin for PrintMode
impl UnwindSafe for PrintMode
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