CssGenerationConfig

Struct CssGenerationConfig 

Source
pub struct CssGenerationConfig {
Show 32 fields pub include_colors: bool, pub include_spacing: bool, pub include_typography: bool, pub include_layout: bool, pub include_flexbox: bool, pub include_grid: bool, pub include_borders: bool, pub include_effects: bool, pub include_transforms: bool, pub include_animations: bool, pub include_interactivity: bool, pub include_sizing: bool, pub include_backgrounds: bool, pub include_filters: bool, pub include_transitions: bool, pub include_text_shadow: bool, pub include_mask: bool, pub include_logical_properties: bool, pub include_enhanced_backdrop_filters: bool, pub include_modern_css_features: bool, pub include_device_variants: bool, pub include_css_nesting: bool, pub include_advanced_plugin_system: bool, pub include_enhanced_validation: bool, pub include_advanced_performance_optimization: bool, pub include_container_queries: bool, pub include_color_functions: bool, pub include_performance_optimization: bool, pub include_advanced_animations: bool, pub color_palettes: Vec<String>, pub include_responsive: bool, pub include_dark_mode: bool,
}
Expand description

Configuration for comprehensive CSS generation

Fields§

§include_colors: bool

Include color palettes

§include_spacing: bool

Include spacing utilities

§include_typography: bool

Include typography utilities

§include_layout: bool

Include layout utilities

§include_flexbox: bool

Include flexbox utilities

§include_grid: bool

Include grid utilities

§include_borders: bool

Include border utilities

§include_effects: bool

Include effects utilities

§include_transforms: bool

Include transform utilities

§include_animations: bool

Include animation utilities

§include_interactivity: bool

Include interactivity utilities

§include_sizing: bool

Include sizing utilities

§include_backgrounds: bool

Include background utilities

§include_filters: bool

Include filter utilities

§include_transitions: bool

Include transition utilities

§include_text_shadow: bool

Include text shadow utilities

§include_mask: bool

Include mask utilities

§include_logical_properties: bool

Include logical properties

§include_enhanced_backdrop_filters: bool

Include enhanced backdrop filters

§include_modern_css_features: bool

Include modern CSS features

§include_device_variants: bool

Include device variants

§include_css_nesting: bool

Include CSS nesting

§include_advanced_plugin_system: bool

Include advanced plugin system

§include_enhanced_validation: bool

Include enhanced validation

§include_advanced_performance_optimization: bool

Include advanced performance optimization

§include_container_queries: bool

Include container queries

§include_color_functions: bool

Include color functions

§include_performance_optimization: bool

Include performance optimization

§include_advanced_animations: bool

Include advanced animations

§color_palettes: Vec<String>

Color palettes to include

§include_responsive: bool

Generate responsive variants

§include_dark_mode: bool

Generate dark mode variants

Trait Implementations§

Source§

impl Clone for CssGenerationConfig

Source§

fn clone(&self) -> CssGenerationConfig

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CssGenerationConfig

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for CssGenerationConfig

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.