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]
impl AttrSelectorOperator
pub fn eval_str(
self,
element_attr_value: &str,
attr_selector_value: &str,
case_sensitivity: CaseSensitivity
) -> bool
[src]
pub fn eval_str(
self,
element_attr_value: &str,
attr_selector_value: &str,
case_sensitivity: CaseSensitivity
) -> bool
Trait Implementations
impl Clone for AttrSelectorOperator
[src]
impl Clone for AttrSelectorOperator
fn clone(&self) -> AttrSelectorOperator
[src]
fn clone(&self) -> AttrSelectorOperator
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for AttrSelectorOperator
[src]
impl Copy for AttrSelectorOperator
impl Eq for AttrSelectorOperator
[src]
impl Eq for AttrSelectorOperator
impl PartialEq for AttrSelectorOperator
[src]
impl PartialEq for AttrSelectorOperator
fn eq(&self, other: &AttrSelectorOperator) -> bool
[src]
fn eq(&self, other: &AttrSelectorOperator) -> bool
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]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl ToCss for AttrSelectorOperator
[src]
impl ToCss for AttrSelectorOperator
Auto Trait Implementations
impl Send for AttrSelectorOperator
impl Send for AttrSelectorOperator
impl Sync for AttrSelectorOperator
impl Sync for AttrSelectorOperator