pub struct SelectorMatchWitness {
pub selector: String,
pub matched_branch: Option<String>,
pub verdict: SelectorMatchVerdict,
pub reason: SelectorMatchReason,
pub specificity: Specificity,
pub missing_tag: Option<String>,
pub missing_id: Option<String>,
pub missing_classes: BTreeSet<String>,
pub missing_attributes: BTreeSet<String>,
pub missing_pseudo_states: BTreeSet<String>,
pub unsupported_branches: Vec<String>,
}Fields§
§selector: String§matched_branch: Option<String>§verdict: SelectorMatchVerdict§reason: SelectorMatchReason§specificity: Specificity§missing_tag: Option<String>§missing_id: Option<String>§missing_classes: BTreeSet<String>§missing_attributes: BTreeSet<String>§missing_pseudo_states: BTreeSet<String>§unsupported_branches: Vec<String>Trait Implementations§
Source§impl Clone for SelectorMatchWitness
impl Clone for SelectorMatchWitness
Source§fn clone(&self) -> SelectorMatchWitness
fn clone(&self) -> SelectorMatchWitness
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SelectorMatchWitness
impl Debug for SelectorMatchWitness
impl Eq for SelectorMatchWitness
Source§impl PartialEq for SelectorMatchWitness
impl PartialEq for SelectorMatchWitness
Source§fn eq(&self, other: &SelectorMatchWitness) -> bool
fn eq(&self, other: &SelectorMatchWitness) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SelectorMatchWitness
impl Serialize for SelectorMatchWitness
impl StructuralPartialEq for SelectorMatchWitness
Auto Trait Implementations§
impl Freeze for SelectorMatchWitness
impl RefUnwindSafe for SelectorMatchWitness
impl Send for SelectorMatchWitness
impl Sync for SelectorMatchWitness
impl Unpin for SelectorMatchWitness
impl UnsafeUnpin for SelectorMatchWitness
impl UnwindSafe for SelectorMatchWitness
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