Struct xswag_base::diag::PrintOptions [] [src]

pub struct PrintOptions {
    pub unicode: bool,
    pub color: bool,
    pub line_wrap: bool,
}

Options for printing on the terminal. By default() everything is enabled.

Fields

unicode

Use of unicode allowed?

color

Use of colors allowed?

line_wrap

Is line wrapping allowed?

Trait Implementations

impl Default for PrintOptions

fn default() -> Self

Derived Implementations

impl Debug for PrintOptions

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Eq for PrintOptions

impl PartialEq for PrintOptions

fn eq(&self, __arg_0: &PrintOptions) -> bool

fn ne(&self, __arg_0: &PrintOptions) -> bool

impl Copy for PrintOptions

impl Clone for PrintOptions

fn clone(&self) -> PrintOptions

fn clone_from(&mut self, source: &Self)