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: u32The width the printer will attempt to keep the line under.
indent_width: u8The number of columns to count when indenting or using a tab.
use_tabs: boolWhether to use tabs for indenting.
new_line_text: &'static strThe newline character to use when doing a new line.