pub struct CssGenerationConfig {
pub include_responsive: bool,
pub include_dark_mode: bool,
pub include_interactive: bool,
pub include_device_variants: bool,
pub custom_breakpoints: HashMap<Breakpoint, String>,
}Expand description
Re-export core tailwind-rs functionality CSS generation configuration
Fields§
§include_responsive: boolWhether to include responsive variants
include_dark_mode: boolWhether to include dark mode variants
include_interactive: boolWhether to include hover/focus variants
include_device_variants: boolWhether to include device variants
custom_breakpoints: HashMap<Breakpoint, String>Custom breakpoints
Trait Implementations§
Source§impl Clone for CssGenerationConfig
impl Clone for CssGenerationConfig
Source§fn clone(&self) -> CssGenerationConfig
fn clone(&self) -> CssGenerationConfig
Returns a duplicate 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 CssGenerationConfig
impl Debug for CssGenerationConfig
Source§impl Default for CssGenerationConfig
impl Default for CssGenerationConfig
Source§fn default() -> CssGenerationConfig
fn default() -> CssGenerationConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CssGenerationConfig
impl RefUnwindSafe for CssGenerationConfig
impl Send for CssGenerationConfig
impl Sync for CssGenerationConfig
impl Unpin for CssGenerationConfig
impl UnwindSafe for CssGenerationConfig
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