pub enum Minify {
Enabled(bool),
Options(MinifyOptions),
}Expand description
html.format’s minify: on, or on with rehype-minify-whitespace’s options.
Variants§
Enabled(bool)
Options(MinifyOptions)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Minify
impl<'de> Deserialize<'de> for Minify
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Minify
impl RefUnwindSafe for Minify
impl Send for Minify
impl Sync for Minify
impl Unpin for Minify
impl UnsafeUnpin for Minify
impl UnwindSafe for Minify
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