Struct exile::WriteOpts[][src]

pub struct WriteOpts {
    pub indent: Indent,
    pub newline: Newline,
}

Options for controlling how the XML Document is written when serialized.

Fields

indent: Indent

The type of indenting to use when writing the document, i.e. tabs, 2 spaces, 4 spaces.

newline: Newline

The type of newline to use when writing the document.

Trait Implementations

impl Clone for WriteOpts[src]

impl Debug for WriteOpts[src]

impl Default for WriteOpts[src]

impl Eq for WriteOpts[src]

impl Hash for WriteOpts[src]

impl PartialEq<WriteOpts> for WriteOpts[src]

impl PartialOrd<WriteOpts> for WriteOpts[src]

impl StructuralEq for WriteOpts[src]

impl StructuralPartialEq for WriteOpts[src]

Auto Trait Implementations

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.