write

Function write 

Source
pub fn write<T: Pretty>(
    writer: &mut dyn Write,
    content: &T,
    max_line: Option<usize>,
    tab_size: usize,
) -> Result<()>
Expand description

Render a pretty-printable value to an arbitrary io::Write handle.

This is the most general way to render a Pretty type.