pub enum PrinterErrorKind {
ambiguous_url_in_custom_property {
url: *const [u8],
},
fmt_error,
invalid_composes_nesting,
invalid_composes_selector,
invalid_css_modules_pattern_in_grid,
maximum_nesting_expansion,
no_import_records,
}Expand description
A printer error type.
Variants§
ambiguous_url_in_custom_property
An ambiguous relative url() was encountered in a custom property declaration.
fmt_error
A std::fmt::Error was encountered in the underlying destination.
invalid_composes_nesting
The CSS modules composes property cannot be used within nested rules.
invalid_composes_selector
The CSS modules composes property cannot be used with a simple class selector.
invalid_css_modules_pattern_in_grid
The CSS modules pattern must end with [local] for use in CSS grid.
maximum_nesting_expansion
Substituting parent selectors for & while compiling CSS nesting for
the configured targets exceeded the expansion limit.
no_import_records
Trait Implementations§
Auto Trait Implementations§
impl !Send for PrinterErrorKind
impl !Sync for PrinterErrorKind
impl Freeze for PrinterErrorKind
impl RefUnwindSafe for PrinterErrorKind
impl Unpin for PrinterErrorKind
impl UnsafeUnpin for PrinterErrorKind
impl UnwindSafe for PrinterErrorKind
Blanket Implementations§
Source§impl<T> AsCtxPtr for Twhere
T: ?Sized,
impl<T> AsCtxPtr for Twhere
T: ?Sized,
Source§fn as_ctx_ptr(&self) -> *mut Selfwhere
Self: Sized,
fn as_ctx_ptr(&self) -> *mut Selfwhere
Self: Sized,
self’s address as *mut Self for deferred-task / scopeguard /
ref_guard ctx slots. The closures/trampolines deref it as shared
(&*p) — every method they reach is &self post-R-2, so no write
provenance is required; the *mut spelling is purely to match the
existing DerefOnDrop / HasAutoFlush / RefCount ABI.Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more