Struct libxml::tree::document::SaveOptions[][src]

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,
}

Save Options for Document

Fields

format: bool

format save output

no_declaration: bool

drop the xml declaration

no_empty_tags: bool

no empty tags

no_xhtml: bool

disable XHTML1 specific rules

xhtml: bool

force XHTML1 specific rules

as_xml: bool

force XML serialization on HTML doc

as_html: bool

force HTML serialization on XML doc

non_significant_whitespace: bool

format with non-significant whitespace

Trait Implementations

impl Clone for SaveOptions[src]

impl Copy for SaveOptions[src]

impl Debug for SaveOptions[src]

impl Default for SaveOptions[src]

Auto Trait Implementations

impl RefUnwindSafe for SaveOptions

impl Send for SaveOptions

impl Sync for SaveOptions

impl Unpin for SaveOptions

impl UnwindSafe for SaveOptions

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.