Enum parcel_css::error::SelectorError
source · [−]pub enum SelectorError<'i> {
Show 22 variants
NoQualifiedNameInAttributeSelector(Token<'i>),
EmptySelector,
DanglingCombinator,
NonCompoundSelector,
NonPseudoElementAfterSlotted,
InvalidPseudoElementAfterSlotted,
InvalidPseudoElementInsideWhere,
InvalidState,
MissingNestingSelector,
MissingNestingPrefix,
UnexpectedTokenInAttributeSelector(Token<'i>),
PseudoElementExpectedColon(Token<'i>),
PseudoElementExpectedIdent(Token<'i>),
NoIdentForPseudo(Token<'i>),
UnsupportedPseudoClassOrElement(CowArcStr<'i>),
UnexpectedIdent(CowArcStr<'i>),
ExpectedNamespace(CowArcStr<'i>),
ExpectedBarInAttr(Token<'i>),
BadValueInAttr(Token<'i>),
InvalidQualNameInAttr(Token<'i>),
ExplicitNamespaceUnexpectedToken(Token<'i>),
ClassNeedsIdent(Token<'i>),
}
Variants
NoQualifiedNameInAttributeSelector(Token<'i>)
EmptySelector
DanglingCombinator
NonCompoundSelector
NonPseudoElementAfterSlotted
InvalidPseudoElementAfterSlotted
InvalidPseudoElementInsideWhere
InvalidState
MissingNestingSelector
MissingNestingPrefix
UnexpectedTokenInAttributeSelector(Token<'i>)
PseudoElementExpectedColon(Token<'i>)
PseudoElementExpectedIdent(Token<'i>)
NoIdentForPseudo(Token<'i>)
UnsupportedPseudoClassOrElement(CowArcStr<'i>)
UnexpectedIdent(CowArcStr<'i>)
ExpectedNamespace(CowArcStr<'i>)
ExpectedBarInAttr(Token<'i>)
BadValueInAttr(Token<'i>)
InvalidQualNameInAttr(Token<'i>)
ExplicitNamespaceUnexpectedToken(Token<'i>)
ClassNeedsIdent(Token<'i>)
Trait Implementations
sourceimpl<'i> Debug for SelectorError<'i>
impl<'i> Debug for SelectorError<'i>
sourceimpl<'i> From<SelectorParseErrorKind<'i>> for SelectorError<'i>
impl<'i> From<SelectorParseErrorKind<'i>> for SelectorError<'i>
sourcefn from(err: SelectorParseErrorKind<'i>) -> Self
fn from(err: SelectorParseErrorKind<'i>) -> Self
Performs the conversion.
sourceimpl<'i> PartialEq<SelectorError<'i>> for SelectorError<'i>
impl<'i> PartialEq<SelectorError<'i>> for SelectorError<'i>
sourcefn eq(&self, other: &SelectorError<'i>) -> bool
fn eq(&self, other: &SelectorError<'i>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SelectorError<'i>) -> bool
fn ne(&self, other: &SelectorError<'i>) -> bool
This method tests for !=
.
impl<'i> StructuralPartialEq for SelectorError<'i>
Auto Trait Implementations
impl<'i> RefUnwindSafe for SelectorError<'i>
impl<'i> Send for SelectorError<'i>
impl<'i> Sync for SelectorError<'i>
impl<'i> Unpin for SelectorError<'i>
impl<'i> UnwindSafe for SelectorError<'i>
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