Enum swc_css_ast::SubclassSelector [−][src]
pub enum SubclassSelector {
Id(IdSelector),
Class(ClassSelector),
Attr(AttrSelector),
Pseudo(PseudoSelector),
At(AtSelector),
}Variants
Id(IdSelector)Tuple Fields of Id
0: IdSelectorClass(ClassSelector)Tuple Fields of Class
Attr(AttrSelector)Tuple Fields of Attr
0: AttrSelectorPseudo(PseudoSelector)Tuple Fields of Pseudo
At(AtSelector)Tuple Fields of At
0: AtSelectorImplementations
Returns Some if self is of variant Id, and None otherwise.
Returns Some if self is of variant Class, and None otherwise.
Returns Some if self is of variant Attr, and None otherwise.
Returns Some if self is of variant Pseudo, and None otherwise.
Returns Some if self is of variant At, and None otherwise.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
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 RefUnwindSafe for SubclassSelector
impl Send for SubclassSelector
impl Sync for SubclassSelector
impl Unpin for SubclassSelector
impl UnwindSafe for SubclassSelector
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more