Enum rustfmt_config::lists::ListTactic
[−]
[src]
pub enum ListTactic { Vertical, Horizontal, HorizontalVertical, LimitedHorizontalVertical(usize), Mixed, }
Formatting tactic for lists. This will be cast down to a
DefinitiveListTactic
depending on the number and length of the items and
their comments.
Variants
Vertical
Horizontal
HorizontalVertical
LimitedHorizontalVertical(usize)
Mixed
Trait Implementations
impl Eq for ListTactic
[src]
impl PartialEq for ListTactic
[src]
fn eq(&self, __arg_0: &ListTactic) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ListTactic) -> bool
[src]
This method tests for !=
.
impl Debug for ListTactic
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for ListTactic
[src]
impl Clone for ListTactic
[src]
fn clone(&self) -> ListTactic
[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 Serialize for ListTactic
[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for ListTactic
[src]
fn deserialize<D>(d: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more