Struct dprint_core::formatting::PrintOptions [−][src]
pub struct PrintOptions { pub max_width: u32, pub indent_width: u8, pub use_tabs: bool, pub new_line_text: &'static str, }
Expand description
Options for printing the print items.
Fields
max_width: u32
The width the printer will attempt to keep the line under.
indent_width: u8
The number of columns to count when indenting or using a tab.
use_tabs: bool
Whether to use tabs for indenting.
new_line_text: &'static str
The newline character to use when doing a new line.