Struct swc_css_ast::CompoundSelector [−][src]
pub struct CompoundSelector {
pub span: Span,
pub has_nest_prefix: bool,
pub combinator: Option<SelectorCombinator>,
pub type_selector: Option<NamespacedName>,
pub subclass_selectors: Vec<SubclassSelector>,
}
Expand description
e.g. foo.c1.c2
Fields
span: Span
has_nest_prefix: bool
“&”
combinator: Option<SelectorCombinator>
type_selector: Option<NamespacedName>
subclass_selectors: Vec<SubclassSelector>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 CompoundSelector
impl Send for CompoundSelector
impl Sync for CompoundSelector
impl Unpin for CompoundSelector
impl UnwindSafe for CompoundSelector
Blanket Implementations
Mutably borrows from an owned value. Read more