pub enum SemiColonOrComma {
SemiColon,
Comma,
}
Expand description
Whether to use semi-colons or commas.
Variants
SemiColon
Use semi colons (default).
Comma
Use commas.
Trait Implementations
sourceimpl Clone for SemiColonOrComma
impl Clone for SemiColonOrComma
sourcefn clone(&self) -> SemiColonOrComma
fn clone(&self) -> SemiColonOrComma
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'de> Deserialize<'de> for SemiColonOrComma
impl<'de> Deserialize<'de> for SemiColonOrComma
sourcefn 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
sourceimpl FromStr for SemiColonOrComma
impl FromStr for SemiColonOrComma
sourceimpl PartialEq<SemiColonOrComma> for SemiColonOrComma
impl PartialEq<SemiColonOrComma> for SemiColonOrComma
sourcefn eq(&self, other: &SemiColonOrComma) -> bool
fn eq(&self, other: &SemiColonOrComma) -> bool
sourceimpl Serialize for SemiColonOrComma
impl Serialize for SemiColonOrComma
sourceimpl ToString for SemiColonOrComma
impl ToString for SemiColonOrComma
impl Copy for SemiColonOrComma
impl StructuralPartialEq for SemiColonOrComma
Auto Trait Implementations
impl RefUnwindSafe for SemiColonOrComma
impl Send for SemiColonOrComma
impl Sync for SemiColonOrComma
impl Unpin for SemiColonOrComma
impl UnwindSafe for SemiColonOrComma
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more