Enum lightningcss::error::MinifyErrorKind
source · pub enum MinifyErrorKind {
CircularCustomMedia {
name: String,
},
CustomMediaNotDefined {
name: String,
},
UnsupportedCustomMediaBooleanLogic {
custom_media_loc: Location,
},
}
Expand description
A transformation error.
Variants§
CircularCustomMedia
A circular @custom-media
rule was detected.
CustomMediaNotDefined
Attempted to reference a custom media rule that doesn’t exist.
UnsupportedCustomMediaBooleanLogic
Fields
Boolean logic with media types in @custom-media rules is not supported.
Implementations§
Trait Implementations§
source§impl Debug for MinifyErrorKind
impl Debug for MinifyErrorKind
source§impl Display for MinifyErrorKind
impl Display for MinifyErrorKind
source§impl PartialEq<MinifyErrorKind> for MinifyErrorKind
impl PartialEq<MinifyErrorKind> for MinifyErrorKind
source§fn eq(&self, other: &MinifyErrorKind) -> bool
fn eq(&self, other: &MinifyErrorKind) -> bool
source§impl Serialize for MinifyErrorKind
impl Serialize for MinifyErrorKind
impl StructuralPartialEq for MinifyErrorKind
Auto Trait Implementations§
impl RefUnwindSafe for MinifyErrorKind
impl Send for MinifyErrorKind
impl Sync for MinifyErrorKind
impl Unpin for MinifyErrorKind
impl UnwindSafe for MinifyErrorKind
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