pub struct SelectorContextWitness {
pub kind: SelectorContextMatchKind,
pub matched: bool,
pub rank: usize,
pub declaration_selector: Option<String>,
pub reference_selector: Option<String>,
}Fields§
§kind: SelectorContextMatchKind§matched: bool§rank: usize§declaration_selector: Option<String>§reference_selector: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for SelectorContextWitness
impl Clone for SelectorContextWitness
Source§fn clone(&self) -> SelectorContextWitness
fn clone(&self) -> SelectorContextWitness
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 SelectorContextWitness
impl Debug for SelectorContextWitness
impl Eq for SelectorContextWitness
Source§impl PartialEq for SelectorContextWitness
impl PartialEq for SelectorContextWitness
Source§fn eq(&self, other: &SelectorContextWitness) -> bool
fn eq(&self, other: &SelectorContextWitness) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SelectorContextWitness
impl Serialize for SelectorContextWitness
impl StructuralPartialEq for SelectorContextWitness
Auto Trait Implementations§
impl Freeze for SelectorContextWitness
impl RefUnwindSafe for SelectorContextWitness
impl Send for SelectorContextWitness
impl Sync for SelectorContextWitness
impl Unpin for SelectorContextWitness
impl UnsafeUnpin for SelectorContextWitness
impl UnwindSafe for SelectorContextWitness
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