pub struct TailwindBuilder {
pub preflight: PreflightSystem,
pub palettes: PaletteSystem,
pub screens: BreakPointSystem,
pub fonts: FontSystem,
pub effects: EffectSystem,
/* private fields */
}
Expand description
Fields§
§preflight: PreflightSystem
§palettes: PaletteSystem
All dynamic color properties
Only determined when packing
screens: BreakPointSystem
All dynamic break points
Only determined when packing
fonts: FontSystem
All dynamically registered font properties
Only determined when packing
effects: EffectSystem
All dynamically registered effect properties
Only determined when packing
Implementations§
Source§impl TailwindBuilder
impl TailwindBuilder
Sourcepub fn preflight(&mut self) -> &mut PreflightSystem
pub fn preflight(&mut self) -> &mut PreflightSystem
Config for preflight progress
Sourcepub fn preflight_addition(&mut self, custom: impl Into<String>)
pub fn preflight_addition(&mut self, custom: impl Into<String>)
Add custom preflight information
Source§impl TailwindBuilder
impl TailwindBuilder
Trait Implementations§
Source§impl Debug for TailwindBuilder
impl Debug for TailwindBuilder
Auto Trait Implementations§
impl Freeze for TailwindBuilder
impl RefUnwindSafe for TailwindBuilder
impl Send for TailwindBuilder
impl Sync for TailwindBuilder
impl Unpin for TailwindBuilder
impl UnwindSafe for TailwindBuilder
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more