Trait newline_converter::AsRefStrExt
source · pub trait AsRefStrExt {
// Required methods
fn to_dos(&self) -> Cow<'_, str>;
fn to_unix(&self) -> Cow<'_, str>;
}
Expand description
Extension trait for converting between DOS and UNIX linebreaks.