pub enum Newline {
LF,
CRLF,
}
Expand description
Available newline types
Variants§
LF
A linefeed (i.e. Unix-style newline)
CRLF
A carriage return and a linefeed (i.e. Windows-style newline)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Newline
impl RefUnwindSafe for Newline
impl Send for Newline
impl Sync for Newline
impl Unpin for Newline
impl UnwindSafe for Newline
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more