Struct nginx_config::Style
[−]
[src]
pub struct Style { /* fields omitted */ }A configuration of formatting style
Currently we only have indentation configured, other things might be added later.
Methods
impl Style[src]
pub fn indent(&mut self, indent: u32) -> &mut Self[src]
Change the number of spaces used for indentation
Trait Implementations
impl Debug for Style[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl PartialEq for Style[src]
fn eq(&self, __arg_0: &Style) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Style) -> bool[src]
This method tests for !=.
impl Clone for Style[src]
fn clone(&self) -> Style[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more