Enum parcel_css::error::PrinterErrorKind
source · [−]pub enum PrinterErrorKind {
AmbiguousUrlInCustomProperty {
url: String,
},
FmtError,
InvalidComposesNesting,
InvalidComposesSelector,
}
Expand description
A printer error type.
Variants
AmbiguousUrlInCustomProperty
Fields
url: String
The ambiguous URL.
An ambiguous relative url()
was encountered in a custom property declaration.
FmtError
A std::fmt::Error was encountered in the underlying destination.
InvalidComposesNesting
The CSS modules composes
property cannot be used within nested rules.
InvalidComposesSelector
The CSS modules composes
property cannot be used with a simple class selector.
Implementations
Trait Implementations
sourceimpl Debug for PrinterErrorKind
impl Debug for PrinterErrorKind
sourceimpl Display for PrinterErrorKind
impl Display for PrinterErrorKind
sourceimpl PartialEq<PrinterErrorKind> for PrinterErrorKind
impl PartialEq<PrinterErrorKind> for PrinterErrorKind
sourcefn eq(&self, other: &PrinterErrorKind) -> bool
fn eq(&self, other: &PrinterErrorKind) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PrinterErrorKind) -> bool
fn ne(&self, other: &PrinterErrorKind) -> bool
This method tests for !=
.
sourceimpl Serialize for PrinterErrorKind
impl Serialize for PrinterErrorKind
impl StructuralPartialEq for PrinterErrorKind
Auto Trait Implementations
impl RefUnwindSafe for PrinterErrorKind
impl Send for PrinterErrorKind
impl Sync for PrinterErrorKind
impl Unpin for PrinterErrorKind
impl UnwindSafe for PrinterErrorKind
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