pub struct ElementSignature {
pub tag: Option<String>,
pub id: Option<String>,
pub classes: BTreeSet<String>,
pub attributes: BTreeSet<String>,
pub pseudo_states: BTreeSet<String>,
pub classes_are_exact: bool,
pub attributes_are_exact: bool,
pub pseudo_states_are_exact: bool,
pub tag_is_exact: bool,
pub id_is_exact: bool,
}Fields§
§tag: Option<String>§id: Option<String>§classes: BTreeSet<String>§attributes: BTreeSet<String>§pseudo_states: BTreeSet<String>§classes_are_exact: bool§attributes_are_exact: bool§pseudo_states_are_exact: bool§tag_is_exact: bool§id_is_exact: boolImplementations§
Trait Implementations§
Source§impl Clone for ElementSignature
impl Clone for ElementSignature
Source§fn clone(&self) -> ElementSignature
fn clone(&self) -> ElementSignature
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 ElementSignature
impl Debug for ElementSignature
impl Eq for ElementSignature
Source§impl PartialEq for ElementSignature
impl PartialEq for ElementSignature
Source§fn eq(&self, other: &ElementSignature) -> bool
fn eq(&self, other: &ElementSignature) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ElementSignature
impl Serialize for ElementSignature
impl StructuralPartialEq for ElementSignature
Auto Trait Implementations§
impl Freeze for ElementSignature
impl RefUnwindSafe for ElementSignature
impl Send for ElementSignature
impl Sync for ElementSignature
impl Unpin for ElementSignature
impl UnsafeUnpin for ElementSignature
impl UnwindSafe for ElementSignature
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