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,
}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: SpecificityTrait 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§fn eq(&self, other: &SelectorSignature) -> bool
fn eq(&self, other: &SelectorSignature) -> bool
Tests for
self and other values to be equal, and is used by ==.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