pub trait Render {
fn write<W: Write>(&self, writer: &mut W) -> Result<()>;
fn is_style_active(&self) -> bool;
fn write_newline<W: Write>(&self, writer: &mut W) -> Result<()> { ... }
fn write_with_style<W: Write>(
&self,
writer: &mut W,
buf: &[u8],
style: &Style
) -> Result<()> { ... }
}