[][src]Enum exile::Misc

pub enum Misc {
    Comment(String),
    PI(PI),
}

Represents a "Misc" entry, which is a Processing Instruction (PI), Comment, or Whitespace

Variants

Comment(String)

<!-- comment --> - not implemented

PI(PI)

ProcessingInstruction, e.g. <?target whatever?> - not implemented

Implementations

impl Misc[src]

pub fn write<W>(
    &self,
    writer: &mut W,
    opts: &WriteOpts,
    depth: usize
) -> Result<(), XDocErr> where
    W: Write
[src]

Serialize the XML Document to a Write stream.

Trait Implementations

impl Clone for Misc[src]

impl Debug for Misc[src]

impl Default for Misc[src]

impl Eq for Misc[src]

impl Hash for Misc[src]

impl Ord for Misc[src]

impl PartialEq<Misc> for Misc[src]

impl PartialOrd<Misc> for Misc[src]

impl StructuralEq for Misc[src]

impl StructuralPartialEq for Misc[src]

Auto Trait Implementations

impl RefUnwindSafe for Misc

impl Send for Misc

impl Sync for Misc

impl Unpin for Misc

impl UnwindSafe for Misc

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.