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§
source§impl Debug for RenderOptions
impl Debug for RenderOptions
source§impl Default for RenderOptions
impl Default for RenderOptions
source§fn default() -> RenderOptions
fn default() -> RenderOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RenderOptions
impl RefUnwindSafe for RenderOptions
impl Send for RenderOptions
impl Sync for RenderOptions
impl Unpin for RenderOptions
impl UnwindSafe for RenderOptions
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