pub trait WriteLine {
// Required method
fn write_line(&self, indent: usize, write: &mut dyn Write) -> Result<()>;
}
Expand description
A trait for writing a type to a Write
stream with a new line.
pub trait WriteLine {
// Required method
fn write_line(&self, indent: usize, write: &mut dyn Write) -> Result<()>;
}
A trait for writing a type to a Write
stream with a new line.