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
Fields
next_combinator_offset: usize
The compound selector matched, and the next combinator offset is
next_combinator_offset
.
NotMatched
The selector didn’t match.
Auto Trait Implementations
impl RefUnwindSafe for CompoundSelectorMatchingResult
impl Send for CompoundSelectorMatchingResult
impl Sync for CompoundSelectorMatchingResult
impl Unpin for CompoundSelectorMatchingResult
impl UnwindSafe for CompoundSelectorMatchingResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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