Struct atelier_describe::DocumentationWriter[][src]

pub struct DocumentationWriter { /* fields omitted */ }

A ModelWriter for creating documentation of a model instance.

Implementations

impl DocumentationWriter[src]

pub fn new(output_format: OutputFormat) -> Self[src]

Construct a new writer with the given output format. The output formats are part of the somedoc crate and allow different documentation technology to render the content.

Example

use atelier_describe::DocumentationWriter;
use somedoc::write::OutputFormat;

let writer = DocumentationWriter::new(OutputFormat::Html);

Trait Implementations

impl Debug for DocumentationWriter[src]

impl Default for DocumentationWriter[src]

impl ModelWriter for DocumentationWriter[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, 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.