Enum swc_css_modules::CssClassName
source · pub enum CssClassName {
Local {
name: Ident,
},
Global {
name: Ident,
},
Import {
name: Ident,
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 moreimpl Eq for CssClassName
impl StructuralEq for CssClassName
impl StructuralPartialEq for CssClassName
Auto Trait Implementations§
impl RefUnwindSafe for CssClassName
impl Send for CssClassName
impl Sync for CssClassName
impl Unpin for CssClassName
impl UnwindSafe for CssClassName
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