Struct parcel_css::stylesheet::MinifyOptions
source · [−]Expand description
Options for the minify
function of a StyleSheet
or StyleAttribute.
Fields
targets: Option<Browsers>
Browser targets to compile the CSS for.
unused_symbols: HashSet<String>
A list of known unused symbols, including CSS class names,
ids, and @keyframe
names. The declarations of these will be removed.
Trait Implementations
sourceimpl Default for MinifyOptions
impl Default for MinifyOptions
sourcefn default() -> MinifyOptions
fn default() -> MinifyOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for MinifyOptions
impl Send for MinifyOptions
impl Sync for MinifyOptions
impl Unpin for MinifyOptions
impl UnwindSafe for MinifyOptions
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.
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
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