Enum rustfmt_nightly::config::lists::DefinitiveListTactic
[−]
[src]
pub enum DefinitiveListTactic { Vertical, Horizontal, Mixed, SpecialMacro(usize), }
The definitive formatting tactic for lists.
Variants
Vertical
Horizontal
Mixed
SpecialMacro(usize)
Special case tactic for format!()
, write!()
style macros.
Methods
impl DefinitiveListTactic
[src]
pub fn ends_with_newline(&self, indent_style: IndentStyle) -> bool
[src]
Trait Implementations
impl Eq for DefinitiveListTactic
[src]
impl PartialEq for DefinitiveListTactic
[src]
fn eq(&self, __arg_0: &DefinitiveListTactic) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DefinitiveListTactic) -> bool
[src]
This method tests for !=
.
impl Debug for DefinitiveListTactic
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for DefinitiveListTactic
[src]
impl Clone for DefinitiveListTactic
[src]
fn clone(&self) -> DefinitiveListTactic
[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