Struct rphtml::config::RenderOptions
source · [−]pub struct RenderOptions {
pub minify_spaces: bool,
pub lowercase_tagname: bool,
pub remove_endtag_space: bool,
pub remove_attr_quote: bool,
pub remove_comment: bool,
pub always_close_void: bool,
pub inner_html: bool,
pub decode_entity: bool,
pub encode_content: bool,
}
Fields
minify_spaces: bool
lowercase_tagname: bool
remove_endtag_space: bool
remove_attr_quote: bool
remove_comment: bool
always_close_void: bool
inner_html: bool
decode_entity: bool
encode_content: bool
Trait Implementations
sourceimpl Debug for RenderOptions
impl Debug for RenderOptions
sourceimpl Default for RenderOptions
impl Default for RenderOptions
sourcefn default() -> RenderOptions
fn default() -> RenderOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for RenderOptions
impl Send for RenderOptions
impl Sync for RenderOptions
impl Unpin for RenderOptions
impl UnwindSafe for RenderOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more