Enum simplecss::AttributeOperator [−][src]
pub enum AttributeOperator<'a> { Exists, Matches(&'a str), Contains(&'a str), StartsWith(&'a str), }
Expand description
An attribute selector operator.
Variants
[attr]
Matches(&'a str)
[attr=value]
Contains(&'a str)
[attr~=value]
StartsWith(&'a str)
[attr|=value]
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for AttributeOperator<'a>
impl<'a> Send for AttributeOperator<'a>
impl<'a> Sync for AttributeOperator<'a>
impl<'a> Unpin for AttributeOperator<'a>
impl<'a> UnwindSafe for AttributeOperator<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more