Enum dprint_plugin_typescript::configuration::JsxQuoteStyle [−][src]
pub enum JsxQuoteStyle { PreferDouble, PreferSingle, }
Expand description
Whether to use single or double quotes for JSX attributes.
Variants
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.
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 JsxQuoteStyle
impl Send for JsxQuoteStyle
impl Sync for JsxQuoteStyle
impl Unpin for JsxQuoteStyle
impl UnwindSafe for JsxQuoteStyle
Blanket Implementations
Mutably borrows from an owned value. Read more