Struct swc_emotion::EmotionOptions
source · pub struct EmotionOptions {
pub enabled: Option<bool>,
pub sourcemap: Option<bool>,
pub auto_label: Option<bool>,
pub label_format: Option<String>,
pub import_map: Option<AHashMap<JsWord, AHashMap<JsWord, Config>>>,
}
Fields§
§enabled: Option<bool>
§sourcemap: Option<bool>
§auto_label: Option<bool>
§label_format: Option<String>
§import_map: Option<AHashMap<JsWord, AHashMap<JsWord, Config>>>
Trait Implementations§
source§impl Clone for EmotionOptions
impl Clone for EmotionOptions
source§fn clone(&self) -> EmotionOptions
fn clone(&self) -> EmotionOptions
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 Debug for EmotionOptions
impl Debug for EmotionOptions
source§impl Default for EmotionOptions
impl Default for EmotionOptions
source§impl<'de> Deserialize<'de> for EmotionOptions
impl<'de> Deserialize<'de> for EmotionOptions
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
Auto Trait Implementations§
impl RefUnwindSafe for EmotionOptions
impl Send for EmotionOptions
impl Sync for EmotionOptions
impl Unpin for EmotionOptions
impl UnwindSafe for EmotionOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more