Enum selectors::parser::ForgivingParsing
source · enum ForgivingParsing {
No,
Yes,
}
Expand description
Whether or not we’re using forgiving parsing mode
Variants§
No
Discard the entire selector list upon encountering any invalid selector. This is the default behavior for almost all of CSS.
Yes
Ignore invalid selectors, potentially creating an empty selector list.
This is the error recovery mode of :is() and :where()
Trait Implementations§
source§impl PartialEq for ForgivingParsing
impl PartialEq for ForgivingParsing
source§fn eq(&self, other: &ForgivingParsing) -> bool
fn eq(&self, other: &ForgivingParsing) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ForgivingParsing
Auto Trait Implementations§
impl Freeze for ForgivingParsing
impl RefUnwindSafe for ForgivingParsing
impl Send for ForgivingParsing
impl Sync for ForgivingParsing
impl Unpin for ForgivingParsing
impl UnwindSafe for ForgivingParsing
Blanket Implementations§
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