Enum swc_css_modules::CssClassName
source · pub enum CssClassName {
Local {
name: JsWord,
},
Global {
name: JsWord,
},
Import {
name: JsWord,
from: JsWord,
},
}
Variants§
Trait Implementations§
source§impl Clone for CssClassName
impl Clone for CssClassName
source§fn clone(&self) -> CssClassName
fn clone(&self) -> CssClassName
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 CssClassName
impl Debug for CssClassName
source§impl Hash for CssClassName
impl Hash for CssClassName
source§impl Ord for CssClassName
impl Ord for CssClassName
source§fn cmp(&self, other: &CssClassName) -> Ordering
fn cmp(&self, other: &CssClassName) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<CssClassName> for CssClassName
impl PartialEq<CssClassName> for CssClassName
source§fn eq(&self, other: &CssClassName) -> bool
fn eq(&self, other: &CssClassName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<CssClassName> for CssClassName
impl PartialOrd<CssClassName> for CssClassName
source§fn partial_cmp(&self, other: &CssClassName) -> Option<Ordering>
fn partial_cmp(&self, other: &CssClassName) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more