1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#[cfg(feature = "html")]
mod html;

#[cfg(feature = "html")]
pub use html::*;

/// Represents the ability to convert some data into some other output form
pub trait Output {
    type Formatter;
    type Error;

    fn fmt(&self, f: &mut Self::Formatter) -> Result<(), Self::Error>;
}