pub enum MultipleMatchesStrategy {
PrioritizeBestSelector,
PrioritizeFirstMatch,
}
Expand description
Strategy for dealing with multiple nodes matching the expected attribute value
Variants§
PrioritizeBestSelector
Choose the node which results in the best selector
PrioritizeFirstMatch
Prefer first matching node
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MultipleMatchesStrategy
impl Send for MultipleMatchesStrategy
impl Sync for MultipleMatchesStrategy
impl Unpin for MultipleMatchesStrategy
impl UnwindSafe for MultipleMatchesStrategy
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