Struct rustfmt_nightly::config::WidthHeuristics
[−]
[src]
pub struct WidthHeuristics {
pub fn_call_width: usize,
pub struct_lit_width: usize,
pub struct_variant_width: usize,
pub array_width: usize,
pub chain_width: usize,
pub single_line_if_else_max_width: usize,
}Fields
fn_call_width: usize
struct_lit_width: usize
struct_variant_width: usize
array_width: usize
chain_width: usize
single_line_if_else_max_width: usize
Methods
impl WidthHeuristics[src]
pub fn null() -> WidthHeuristics[src]
pub fn scaled(max_width: usize) -> WidthHeuristics[src]
Trait Implementations
impl Clone for WidthHeuristics[src]
fn clone(&self) -> WidthHeuristics[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
impl Debug for WidthHeuristics[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more