pub enum LineBreaks {
Universal,
Lf,
}Expand description
Physical line recognition.
Variants§
Universal
LF, CRLF and lone CR terminate lines.
Lf
LF terminates lines; one final CR belongs to the line ending.
Trait Implementations§
Source§impl Clone for LineBreaks
impl Clone for LineBreaks
impl Copy for LineBreaks
Source§impl Debug for LineBreaks
impl Debug for LineBreaks
impl Eq for LineBreaks
Source§impl Hash for LineBreaks
impl Hash for LineBreaks
Source§impl PartialEq for LineBreaks
impl PartialEq for LineBreaks
impl StructuralPartialEq for LineBreaks
Auto Trait Implementations§
impl Freeze for LineBreaks
impl RefUnwindSafe for LineBreaks
impl Send for LineBreaks
impl Sync for LineBreaks
impl Unpin for LineBreaks
impl UnsafeUnpin for LineBreaks
impl UnwindSafe for LineBreaks
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