Struct tailwind_css::TailwindBuilder
source · [−]pub struct TailwindBuilder {
pub objects: BTreeSet<Box<dyn TailwindInstance>>,
pub preflight: PreflightSystem,
pub screens: BreakPointSystem,
pub colors: PaletteSystem,
pub fonts: FontSystem,
}
Fields
objects: BTreeSet<Box<dyn TailwindInstance>>
preflight: PreflightSystem
screens: BreakPointSystem
colors: PaletteSystem
fonts: FontSystem
Implementations
sourceimpl 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
Trait Implementations
sourceimpl Debug for TailwindBuilder
impl Debug for TailwindBuilder
Auto Trait Implementations
impl !RefUnwindSafe for TailwindBuilder
impl !Send for TailwindBuilder
impl !Sync for TailwindBuilder
impl Unpin for TailwindBuilder
impl !UnwindSafe for TailwindBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more