pub struct SelectorSignature {
pub selector: String,
pub required_tag: Option<String>,
pub required_id: Option<String>,
pub required_classes: BTreeSet<String>,
pub required_attributes: BTreeSet<String>,
pub required_pseudo_states: BTreeSet<String>,
pub specificity: Specificity,
pub specificity_exactness: SpecificityExactnessV0,
}Fields§
§selector: String§required_tag: Option<String>§required_id: Option<String>§required_classes: BTreeSet<String>§required_attributes: BTreeSet<String>§required_pseudo_states: BTreeSet<String>§specificity: Specificity§specificity_exactness: SpecificityExactnessV0Trait Implementations§
Source§impl Clone for SelectorSignature
impl Clone for SelectorSignature
Source§fn clone(&self) -> SelectorSignature
fn clone(&self) -> SelectorSignature
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 SelectorSignature
impl Debug for SelectorSignature
impl Eq for SelectorSignature
Source§impl PartialEq for SelectorSignature
impl PartialEq for SelectorSignature
Source§impl Serialize for SelectorSignature
impl Serialize for SelectorSignature
impl StructuralPartialEq for SelectorSignature
Auto Trait Implementations§
impl Freeze for SelectorSignature
impl RefUnwindSafe for SelectorSignature
impl Send for SelectorSignature
impl Sync for SelectorSignature
impl Unpin for SelectorSignature
impl UnsafeUnpin for SelectorSignature
impl UnwindSafe for SelectorSignature
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.