pub enum MemberSpacing {
Maintain,
NewLine,
BlankLine,
}
Expand description
How to space members.
Variants§
Maintain
Maintains whether a newline or blankline is used.
NewLine
Forces a new line between members.
BlankLine
Forces a blank line between members.
Trait Implementations§
source§impl Clone for MemberSpacing
impl Clone for MemberSpacing
source§fn clone(&self) -> MemberSpacing
fn clone(&self) -> MemberSpacing
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'de> Deserialize<'de> for MemberSpacing
impl<'de> Deserialize<'de> for MemberSpacing
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromStr for MemberSpacing
impl FromStr for MemberSpacing
source§impl PartialEq<MemberSpacing> for MemberSpacing
impl PartialEq<MemberSpacing> for MemberSpacing
source§fn eq(&self, other: &MemberSpacing) -> bool
fn eq(&self, other: &MemberSpacing) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.