Struct swc_css_ast::PseudoClassSelector
source · pub struct PseudoClassSelector {
pub span: Span,
pub name: Ident,
pub children: Option<Vec<PseudoClassSelectorChildren>>,
}
Fields§
§span: Span
§name: Ident
§children: Option<Vec<PseudoClassSelectorChildren>>
Trait Implementations§
source§impl Clone for PseudoClassSelector
impl Clone for PseudoClassSelector
source§fn clone(&self) -> PseudoClassSelector
fn clone(&self) -> PseudoClassSelector
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PseudoClassSelector
impl Debug for PseudoClassSelector
source§impl<'de> Deserialize<'de> for PseudoClassSelector
impl<'de> Deserialize<'de> for PseudoClassSelector
source§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
source§impl EqIgnoreSpan for PseudoClassSelector
impl EqIgnoreSpan for PseudoClassSelector
fn eq_ignore_span(&self, other: &Self) -> bool
source§impl From<PseudoClassSelector> for SubclassSelector
impl From<PseudoClassSelector> for SubclassSelector
source§fn from(v: PseudoClassSelector) -> Self
fn from(v: PseudoClassSelector) -> Self
Converts to this type from the input type.
source§impl Hash for PseudoClassSelector
impl Hash for PseudoClassSelector
source§impl PartialEq<PseudoClassSelector> for PseudoClassSelector
impl PartialEq<PseudoClassSelector> for PseudoClassSelector
source§fn eq(&self, other: &PseudoClassSelector) -> bool
fn eq(&self, other: &PseudoClassSelector) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.