[][src]Trait twiggy_traits::Emit

pub trait Emit {
    fn emit(
        &self,
        items: &Items,
        destination: &mut dyn Write,
        format: OutputFormat
    ) -> Result<(), Error> { ... } }

Anything that can write itself in the given output format to the given destination.

Provided methods

fn emit(
    &self,
    items: &Items,
    destination: &mut dyn Write,
    format: OutputFormat
) -> Result<(), Error>

Emit this thing to the given destination in the given output format.

Loading content...

Implementors

Loading content...