pub struct HTMLMinifier { /* private fields */ }
Expand description
This struct helps you generate and minify your HTML code in the same time.
Create a new HTMLMinifier instance.
Input some text to generate HTML code. You don’t need to input a full HTML text at once.
Finalize and generate HTML code into a string instance.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.