[][src]Trait bracket::output::Output

pub trait Output: Write {
    fn write_str(&mut self, s: &str) -> Result<usize>;
}

Trait for types that we can render to.

Required methods

fn write_str(&mut self, s: &str) -> Result<usize>

Convenience function as we are typically writing string slices.

Loading content...

Implementors

impl Output for StringOutput[src]

impl<W: Write> Output for Writer<W>[src]

Loading content...