pub enum CompoundSelectorMatchingResult {
FullyMatched,
Matched {
next_combinator_offset: usize,
},
NotMatched,
}
Expand description
Whether a compound selector matched, and whether it was the rightmost selector inside the complex selector.
Variants§
FullyMatched
The selector was fully matched.
Matched
The compound selector matched, and the next combinator offset is
next_combinator_offset
.
NotMatched
The selector didn’t match.
Auto Trait Implementations§
impl Freeze for CompoundSelectorMatchingResult
impl RefUnwindSafe for CompoundSelectorMatchingResult
impl Send for CompoundSelectorMatchingResult
impl Sync for CompoundSelectorMatchingResult
impl Unpin for CompoundSelectorMatchingResult
impl UnwindSafe for CompoundSelectorMatchingResult
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