pub enum SemiColonOrComma {
SemiColon,
Comma,
}
Expand description
Whether to use semi-colons or commas.
Variants§
Trait Implementations§
source§impl Clone for SemiColonOrComma
impl Clone for SemiColonOrComma
source§fn clone(&self) -> SemiColonOrComma
fn clone(&self) -> SemiColonOrComma
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 SemiColonOrComma
impl<'de> Deserialize<'de> for SemiColonOrComma
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 SemiColonOrComma
impl FromStr for SemiColonOrComma
source§impl PartialEq<SemiColonOrComma> for SemiColonOrComma
impl PartialEq<SemiColonOrComma> for SemiColonOrComma
source§fn eq(&self, other: &SemiColonOrComma) -> bool
fn eq(&self, other: &SemiColonOrComma) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.