pub struct TestConfig {
pub theme: Option<String>,
pub breakpoint: Option<String>,
pub dark_mode: bool,
pub custom_css: Vec<String>,
}Expand description
Test configuration for tailwind-rs testing
Fields§
§theme: Option<String>§breakpoint: Option<String>§dark_mode: bool§custom_css: Vec<String>Trait Implementations§
Source§impl Clone for TestConfig
impl Clone for TestConfig
Source§fn clone(&self) -> TestConfig
fn clone(&self) -> TestConfig
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 TestConfig
impl Debug for TestConfig
Source§impl Default for TestConfig
impl Default for TestConfig
Source§fn default() -> TestConfig
fn default() -> TestConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TestConfig
impl RefUnwindSafe for TestConfig
impl Send for TestConfig
impl Sync for TestConfig
impl Unpin for TestConfig
impl UnwindSafe for TestConfig
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