pub enum MinifyErrorKind {
circular_custom_media {
name: *const [u8],
},
custom_media_not_defined {
name: *const [u8],
},
unsupported_custom_media_boolean_logic {
custom_media_loc: Location,
},
selector_expansion_limit_exceeded,
unknown,
}Expand description
A transformation error.
Variants§
circular_custom_media
A circular @custom-media rule was detected.
custom_media_not_defined
Attempted to reference a custom media rule that doesn’t exist.
unsupported_custom_media_boolean_logic
Boolean logic with media types in @custom-media rules is not supported.
Fields
selector_expansion_limit_exceeded
Compiling nested rules for the configured browser targets would expand to
more than crate::css_rules::MAX_SELECTOR_EXPANSION selectors.
unknown
Rule minification failed without recording a more specific diagnostic on
MinifyContext::err. Defensive fallback — every failing path is expected
to record one before returning an error.
Trait Implementations§
Auto Trait Implementations§
impl !Send for MinifyErrorKind
impl !Sync for MinifyErrorKind
impl Freeze for MinifyErrorKind
impl RefUnwindSafe for MinifyErrorKind
impl Unpin for MinifyErrorKind
impl UnsafeUnpin for MinifyErrorKind
impl UnwindSafe for MinifyErrorKind
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 /
RefPtr::init_ref 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 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