Enum dprint_plugin_typescript::configuration::QuoteStyle [−][src]
pub enum QuoteStyle { AlwaysDouble, AlwaysSingle, PreferDouble, PreferSingle, }
Expand description
How to decide to use single or double quotes.
Variants
Always use double quotes.
Always use single quotes.
Prefer using double quotes except in scenarios where the string contains more double quotes than single quotes.
Prefer using single quotes except in scenarios where the string contains more single quotes than double quotes.
Implementations
Gets the associated JSX quote style.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for QuoteStyle
impl Send for QuoteStyle
impl Sync for QuoteStyle
impl Unpin for QuoteStyle
impl UnwindSafe for QuoteStyle
Blanket Implementations
Mutably borrows from an owned value. Read more