Enum somedoc::write::OutputFormat[][src]

pub enum OutputFormat {
    Markdown(MarkdownFlavor),
    Html,
    Json,
    Latex,
}

This indicates the output format to use when writing a document.

Variants

Markdown(MarkdownFlavor)

One of the supported flavors of Markdown, see markdown::MarkdownFlavor.

Html

Generic HTML, supports math via MathJax and code syntax via hightlight.js.

Json

A direct representation of the model in JSON for external tool integration.

Latex

Pretty generic LaTeX support, includes a number of packages for support of listings, block quotes, images, etc.

Trait Implementations

impl Clone for OutputFormat[src]

impl Debug for OutputFormat[src]

impl Default for OutputFormat[src]

impl Display for OutputFormat[src]

impl FromStr for OutputFormat[src]

type Err = Error

The associated error which can be returned from parsing.

impl Into<OutputFormat> for MarkdownFlavor[src]

impl PartialEq<OutputFormat> for OutputFormat[src]

impl StructuralPartialEq for OutputFormat[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> ToString for T where
    T: Display + ?Sized
[src]

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.