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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.