Struct lightningcss::css_modules::Config
source · pub struct Config<'i> {
pub pattern: Pattern<'i>,
pub dashed_idents: bool,
}
Expand description
Configuration for CSS modules.
Fields§
§pattern: Pattern<'i>
The name pattern to use when renaming class names and other identifiers.
Default is [hash]_[local]
.
dashed_idents: bool
Whether to rename dashed identifiers, e.g. custom properties.
Trait Implementations§
Auto Trait Implementations§
impl<'i> RefUnwindSafe for Config<'i>
impl<'i> Send for Config<'i>
impl<'i> Sync for Config<'i>
impl<'i> Unpin for Config<'i>
impl<'i> UnwindSafe for Config<'i>
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere W: DeserializeWith<F, T, D>, D: Fallible + ?Sized, F: ?Sized,
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer