pub struct SaveOptions {
pub format: bool,
pub no_declaration: bool,
pub no_empty_tags: bool,
pub no_xhtml: bool,
pub xhtml: bool,
pub as_xml: bool,
pub as_html: bool,
pub non_significant_whitespace: bool,
}Expand description
Save Options for Document
Fields§
§format: boolformat save output
no_declaration: booldrop the xml declaration
no empty tags
no_xhtml: booldisable XHTML1 specific rules
xhtml: boolforce XHTML1 specific rules
as_xml: boolforce XML serialization on HTML doc
as_html: boolforce HTML serialization on XML doc
non_significant_whitespace: boolformat with non-significant whitespace
Trait Implementations§
Source§impl Clone for SaveOptions
impl Clone for SaveOptions
Source§fn clone(&self) -> SaveOptions
fn clone(&self) -> SaveOptions
Returns a copy of the value. Read more
1.0.0 · 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 SaveOptions
impl Debug for SaveOptions
Source§impl Default for SaveOptions
impl Default for SaveOptions
Source§fn default() -> SaveOptions
fn default() -> SaveOptions
Returns the “default value” for a type. Read more
impl Copy for SaveOptions
Auto Trait Implementations§
impl Freeze for SaveOptions
impl RefUnwindSafe for SaveOptions
impl Send for SaveOptions
impl Sync for SaveOptions
impl Unpin for SaveOptions
impl UnwindSafe for SaveOptions
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