pub enum BasicParseErrorKind {
unexpected_token(Token),
end_of_input,
at_rule_invalid(*const [u8]),
at_rule_body_invalid,
qualified_rule_invalid,
}Expand description
Details about a BasicParseError
Variants§
unexpected_token(Token)
An unexpected token was encountered.
end_of_input
The end of the input was encountered unexpectedly.
at_rule_invalid(*const [u8])
An @ rule was encountered that was invalid.
at_rule_body_invalid
The body of an ‘@’ rule was invalid.
qualified_rule_invalid
A qualified rule was encountered that was invalid.
Trait Implementations§
Auto Trait Implementations§
impl !Send for BasicParseErrorKind
impl !Sync for BasicParseErrorKind
impl Freeze for BasicParseErrorKind
impl RefUnwindSafe for BasicParseErrorKind
impl Unpin for BasicParseErrorKind
impl UnsafeUnpin for BasicParseErrorKind
impl UnwindSafe for BasicParseErrorKind
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