pub struct GeneratorOptions {
pub minify: bool,
pub indent: String,
pub trailing_newline: bool,
}Expand description
Options for CSS generation
Fields§
§minify: boolMinify the output (remove whitespace)
indent: StringIndentation string (e.g., “ “ or “\t”)
trailing_newline: boolAdd newline at end of file
Trait Implementations§
Source§impl Clone for GeneratorOptions
impl Clone for GeneratorOptions
Source§fn clone(&self) -> GeneratorOptions
fn clone(&self) -> GeneratorOptions
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 GeneratorOptions
impl Debug for GeneratorOptions
Auto Trait Implementations§
impl Freeze for GeneratorOptions
impl RefUnwindSafe for GeneratorOptions
impl Send for GeneratorOptions
impl Sync for GeneratorOptions
impl Unpin for GeneratorOptions
impl UnwindSafe for GeneratorOptions
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