pub struct MinifyOptions {
pub collapse_whitespace: bool,
pub remove_comments: bool,
pub short_doctype: bool,
pub shorten_attributes: bool,
}Fields§
§collapse_whitespace: bool§remove_comments: bool§short_doctype: bool§shorten_attributes: boolTrait Implementations§
Source§impl Clone for MinifyOptions
impl Clone for MinifyOptions
Auto Trait Implementations§
impl Forget for MinifyOptions
impl Freeze for MinifyOptions
impl RefUnwindSafe for MinifyOptions
impl Send for MinifyOptions
impl Sync for MinifyOptions
impl Unpin for MinifyOptions
impl UnsafeUnpin for MinifyOptions
impl UnwindSafe for MinifyOptions
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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