WriteExt

Trait WriteExt 

Source
pub trait WriteExt {
    // Required method
    fn normalize_newlines<N: NormalizeChunk>(self, _: N) -> Writer<Self, N>
       where Self: Sized;
}
Expand description

Extension trait to provide convenient methods on std::io::Write.

Required Methods§

Source

fn normalize_newlines<N: NormalizeChunk>(self, _: N) -> Writer<Self, N>
where Self: Sized,

Wrap the writer with a newline-normalizing Writer.

Implementors§

Source§

impl<W: Write> WriteExt for W