pub struct PrinterOptions {
pub indent_style: IndentStyle,
pub indent_width: u8,
pub line_width: u16,
pub line_ending: LineEnding,
}Fields§
§indent_style: IndentStyle§indent_width: u8§line_width: u16§line_ending: LineEndingTrait Implementations§
Source§impl Clone for PrinterOptions
impl Clone for PrinterOptions
Source§fn clone(&self) -> PrinterOptions
fn clone(&self) -> PrinterOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PrinterOptions
impl Debug for PrinterOptions
Source§impl Default for PrinterOptions
impl Default for PrinterOptions
Source§impl PartialEq for PrinterOptions
impl PartialEq for PrinterOptions
impl Copy for PrinterOptions
impl Eq for PrinterOptions
impl StructuralPartialEq for PrinterOptions
Auto Trait Implementations§
impl Freeze for PrinterOptions
impl RefUnwindSafe for PrinterOptions
impl Send for PrinterOptions
impl Sync for PrinterOptions
impl Unpin for PrinterOptions
impl UnsafeUnpin for PrinterOptions
impl UnwindSafe for PrinterOptions
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