Struct tailwind_rs::CLIConfig
source · [−]pub struct CLIConfig {
pub dry_run: bool,
pub minify: bool,
pub obfuscate: bool,
pub mode: CssInlineMode,
pub unused_symbols: HashSet<String>,
pub html: HtmlConfig,
}
Expand description
The Tailwind
configuration.
Fields
dry_run: bool
minify: bool
obfuscate: bool
mode: CssInlineMode
unused_symbols: HashSet<String>
html: HtmlConfig
Implementations
sourceimpl CLIConfig
impl CLIConfig
pub fn builder(&self) -> TailwindBuilder
pub fn compile_html(
&self,
input: &str,
tw: &mut TailwindBuilder
) -> Result<(String, String)>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CLIConfig
impl Send for CLIConfig
impl Sync for CLIConfig
impl Unpin for CLIConfig
impl UnwindSafe for CLIConfig
Blanket Implementations
impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer