[−][src]Trait genco::WriteTokens
Helper trait to write tokens immediately to containers.
Required methods
fn write_tokens<'el, C: Custom>(
&mut self,
tokens: Tokens<'el, C>,
extra: &mut C::Extra
) -> Result
&mut self,
tokens: Tokens<'el, C>,
extra: &mut C::Extra
) -> Result
Write the given tokens to the container.
fn write_file<'el, C: Custom>(
&mut self,
tokens: Tokens<'el, C>,
extra: &mut C::Extra
) -> Result
&mut self,
tokens: Tokens<'el, C>,
extra: &mut C::Extra
) -> Result
Write the given tokens to the container as a file.