Enum rcss_core::CssEmbeding
source · pub enum CssEmbeding {
CssModules,
Scoped,
Global,
}
Variants§
CssModules
Css modules like api. It generate struct with css classes as fields.
Scoped
Scoped css. Uses random class as separator for different scopes.
Global
No preprocessing, just output css as is.
Trait Implementations§
source§impl Clone for CssEmbeding
impl Clone for CssEmbeding
source§fn clone(&self) -> CssEmbeding
fn clone(&self) -> CssEmbeding
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 CssEmbeding
impl Debug for CssEmbeding
source§impl Ord for CssEmbeding
impl Ord for CssEmbeding
source§fn cmp(&self, other: &CssEmbeding) -> Ordering
fn cmp(&self, other: &CssEmbeding) -> 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 for CssEmbeding
impl PartialEq for CssEmbeding
source§fn eq(&self, other: &CssEmbeding) -> bool
fn eq(&self, other: &CssEmbeding) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CssEmbeding
impl PartialOrd for CssEmbeding
source§fn partial_cmp(&self, other: &CssEmbeding) -> Option<Ordering>
fn partial_cmp(&self, other: &CssEmbeding) -> 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 Copy for CssEmbeding
impl Eq for CssEmbeding
impl StructuralEq for CssEmbeding
impl StructuralPartialEq for CssEmbeding
Auto Trait Implementations§
impl RefUnwindSafe for CssEmbeding
impl Send for CssEmbeding
impl Sync for CssEmbeding
impl Unpin for CssEmbeding
impl UnwindSafe for CssEmbeding
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