pub struct MinifyOutput {
pub body: String,
pub warnings: Vec<MinifyWarning>,
}Expand description
A successful minification produces a body plus zero-or-more per-conversion warnings (e.g. B0703 line-comment-converted notices).
Fields§
§body: String§warnings: Vec<MinifyWarning>Trait Implementations§
Source§impl Clone for MinifyOutput
impl Clone for MinifyOutput
Source§fn clone(&self) -> MinifyOutput
fn clone(&self) -> MinifyOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MinifyOutput
impl Debug for MinifyOutput
Source§impl Default for MinifyOutput
impl Default for MinifyOutput
Source§fn default() -> MinifyOutput
fn default() -> MinifyOutput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MinifyOutput
impl RefUnwindSafe for MinifyOutput
impl Send for MinifyOutput
impl Sync for MinifyOutput
impl Unpin for MinifyOutput
impl UnsafeUnpin for MinifyOutput
impl UnwindSafe for MinifyOutput
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