Enum selectors::attr::AttrSelectorOperator
[−]
[src]
pub enum AttrSelectorOperator { Equal, Includes, DashMatch, Prefix, Substring, Suffix, }
Variants
Equal
Includes
DashMatch
Prefix
Substring
Suffix
Methods
impl AttrSelectorOperator
[src]
pub fn eval_str(
self,
element_attr_value: &str,
attr_selector_value: &str,
case_sensitivity: CaseSensitivity
) -> bool
[src]
self,
element_attr_value: &str,
attr_selector_value: &str,
case_sensitivity: CaseSensitivity
) -> bool
Trait Implementations
impl Clone for AttrSelectorOperator
[src]
fn clone(&self) -> AttrSelectorOperator
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for AttrSelectorOperator
[src]
impl Eq for AttrSelectorOperator
[src]
impl PartialEq for AttrSelectorOperator
[src]
fn eq(&self, __arg_0: &AttrSelectorOperator) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.