Struct simplecss::Selector [−][src]
pub struct Selector<'a> { /* fields omitted */ }
Expand description
A selector.
Implementations
Parses a selector from a string.
Will log any errors as a warnings.
Parsing will be stopped at EOF, ,
or {
.
Compute the selector’s specificity.
Cf. https://www.w3.org/TR/selectors/#specificity.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Selector<'a>
impl<'a> UnwindSafe for Selector<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more