Trait genco::WriteTokens [] [src]

pub trait WriteTokens {
    fn write_tokens<'el, C: Custom>(
        &mut self,
        tokens: Tokens<'el, C>,
        extra: &mut C::Extra
    ) -> Result;
fn write_file<'el, C: Custom>(
        &mut self,
        tokens: Tokens<'el, C>,
        extra: &mut C::Extra
    ) -> Result; }

Helper trait to write tokens immediately to containers.

Required Methods

Write the given tokens to the container.

Write the given tokens to the container as a file.

Implementors