Enum rustfmt_config::lists::SeparatorPlace
[−]
[src]
pub enum SeparatorPlace { Front, Back, }
Where to put separator.
Variants
Front
Back
Methods
impl SeparatorPlace
[src]
pub fn is_front(&self) -> bool
[src]
pub fn is_back(&self) -> bool
[src]
pub fn from_tactic(
default: SeparatorPlace,
tactic: DefinitiveListTactic,
sep: &str
) -> SeparatorPlace
[src]
default: SeparatorPlace,
tactic: DefinitiveListTactic,
sep: &str
) -> SeparatorPlace
Trait Implementations
impl Eq for SeparatorPlace
[src]
impl PartialEq for SeparatorPlace
[src]
fn eq(&self, __arg_0: &SeparatorPlace) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Debug for SeparatorPlace
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for SeparatorPlace
[src]
impl Clone for SeparatorPlace
[src]
fn clone(&self) -> SeparatorPlace
[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 SeparatorPlace
[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 SeparatorPlace
[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