Enum parcel_css::error::MinifyErrorKind
source · [−]pub enum MinifyErrorKind {
CircularCustomMedia {
name: String,
},
CustomMediaNotDefined {
name: String,
},
UnsupportedCustomMediaBooleanLogic {
custom_media_loc: Location,
},
}
Expand description
A transformation error.
Variants
CircularCustomMedia
Fields
name: String
The name of the @custom-media
rule that was referenced circularly.
A circular @custom-media
rule was detected.
CustomMediaNotDefined
Fields
name: String
The name of the @custom-media
rule that was not defined.
Attempted to reference a custom media rule that doesn’t exist.
UnsupportedCustomMediaBooleanLogic
Fields
custom_media_loc: Location
The source location of the @custom-media
rule with unsupported boolean logic.
Boolean logic with media types in @custom-media rules is not supported.
Implementations
Trait Implementations
sourceimpl Debug for MinifyErrorKind
impl Debug for MinifyErrorKind
sourceimpl Display for MinifyErrorKind
impl Display for MinifyErrorKind
sourceimpl PartialEq<MinifyErrorKind> for MinifyErrorKind
impl PartialEq<MinifyErrorKind> for MinifyErrorKind
sourcefn eq(&self, other: &MinifyErrorKind) -> bool
fn eq(&self, other: &MinifyErrorKind) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MinifyErrorKind) -> bool
fn ne(&self, other: &MinifyErrorKind) -> bool
This method tests for !=
.
sourceimpl 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.
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