pub enum NewLine {
Rfc,
Unix,
Custom(String),
}
Expand description
New line type
Variants§
Rfc
According RFC 4180 CRLF
Unix
Unix style option: ‘\n’
Custom(String)
Custom end of line characters
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