Struct swc_css_ast::IdSelector
source · pub struct IdSelector {
pub span: Span,
pub text: Ident,
}
Fields§
§span: Span
§text: Ident
Does not include #
Trait Implementations§
source§impl Clone for IdSelector
impl Clone for IdSelector
source§fn clone(&self) -> IdSelector
fn clone(&self) -> IdSelector
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 IdSelector
impl Debug for IdSelector
source§impl EqIgnoreSpan for IdSelector
impl EqIgnoreSpan for IdSelector
fn eq_ignore_span(&self, other: &Self) -> bool
source§impl From<IdSelector> for SubclassSelector
impl From<IdSelector> for SubclassSelector
source§fn from(v: IdSelector) -> Self
fn from(v: IdSelector) -> Self
Converts to this type from the input type.
source§impl Hash for IdSelector
impl Hash for IdSelector
source§impl PartialEq<IdSelector> for IdSelector
impl PartialEq<IdSelector> for IdSelector
source§fn eq(&self, other: &IdSelector) -> bool
fn eq(&self, other: &IdSelector) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.