Struct swc_css_ast::ClassSelector
source · pub struct ClassSelector {
pub span: Span,
pub text: Ident,
}
Fields§
§span: Span
§text: Ident
Does not include .
Trait Implementations§
source§impl Clone for ClassSelector
impl Clone for ClassSelector
source§fn clone(&self) -> ClassSelector
fn clone(&self) -> ClassSelector
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 ClassSelector
impl Debug for ClassSelector
source§impl EqIgnoreSpan for ClassSelector
impl EqIgnoreSpan for ClassSelector
fn eq_ignore_span(&self, other: &Self) -> bool
source§impl From<ClassSelector> for SubclassSelector
impl From<ClassSelector> for SubclassSelector
source§fn from(v: ClassSelector) -> Self
fn from(v: ClassSelector) -> Self
Converts to this type from the input type.
source§impl Hash for ClassSelector
impl Hash for ClassSelector
source§impl PartialEq<ClassSelector> for ClassSelector
impl PartialEq<ClassSelector> for ClassSelector
source§fn eq(&self, other: &ClassSelector) -> bool
fn eq(&self, other: &ClassSelector) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Spanned for ClassSelector
impl Spanned for ClassSelector
impl Eq for ClassSelector
impl StructuralEq for ClassSelector
impl StructuralPartialEq for ClassSelector
Auto Trait Implementations§
impl RefUnwindSafe for ClassSelector
impl Send for ClassSelector
impl Sync for ClassSelector
impl Unpin for ClassSelector
impl UnwindSafe for ClassSelector
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more