[][src]Enum xdoc::Newline

pub enum Newline {
    None,
    Newline,
    Windows,
}

The type of newline character to use when writing the XML Document

Variants

None

No newline character.

Newline

The unix/linux newline character \n.

Windows

The Windows newline sequence \n\r.

Trait Implementations

impl Clone for Newline[src]

impl Debug for Newline[src]

impl Default for Newline[src]

impl Eq for Newline[src]

impl Hash for Newline[src]

impl PartialEq<Newline> for Newline[src]

impl PartialOrd<Newline> for Newline[src]

impl StructuralEq for Newline[src]

impl StructuralPartialEq for Newline[src]

Auto Trait Implementations

impl RefUnwindSafe for Newline

impl Send for Newline

impl Sync for Newline

impl Unpin for Newline

impl UnwindSafe for Newline

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.