Enum swc_css_ast::ComplexSelectorChildren [−][src]
pub enum ComplexSelectorChildren {
CompoundSelector(CompoundSelector),
Combinator(Combinator),
}
Variants
CompoundSelector(CompoundSelector)
Tuple Fields of CompoundSelector
Combinator(Combinator)
Tuple Fields of Combinator
0: Combinator
Implementations
Returns true
if self
is of variant CompoundSelector
.
Unwraps the value, yielding the content of CompoundSelector
.
Panics
Panics if the value is not CompoundSelector
, with a panic message including the content of self
.
Returns Some
if self
is of variant CompoundSelector
, and None
otherwise.
Returns true
if self
is of variant Combinator
.
Unwraps the value, yielding the content of Combinator
.
Panics
Panics if the value is not Combinator
, with a panic message including the content of self
.
Returns Some
if self
is of variant Combinator
, and None
otherwise.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
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 ComplexSelectorChildren
impl Send for ComplexSelectorChildren
impl Sync for ComplexSelectorChildren
impl Unpin for ComplexSelectorChildren
impl UnwindSafe for ComplexSelectorChildren
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