pub enum LineEndings {
Unix,
Dos,
}
Variants§
Trait Implementations§
Source§impl Clone for LineEndings
impl Clone for LineEndings
Source§fn clone(&self) -> LineEndings
fn clone(&self) -> LineEndings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LineEndings
impl Debug for LineEndings
Source§impl Default for LineEndings
impl Default for LineEndings
Source§impl Hash for LineEndings
impl Hash for LineEndings
Source§impl Ord for LineEndings
impl Ord for LineEndings
Source§fn cmp(&self, other: &LineEndings) -> Ordering
fn cmp(&self, other: &LineEndings) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LineEndings
impl PartialEq for LineEndings
Source§impl PartialOrd for LineEndings
impl PartialOrd for LineEndings
impl Copy for LineEndings
impl Eq for LineEndings
impl StructuralPartialEq for LineEndings
Auto Trait Implementations§
impl Freeze for LineEndings
impl RefUnwindSafe for LineEndings
impl Send for LineEndings
impl Sync for LineEndings
impl Unpin for LineEndings
impl UnwindSafe for LineEndings
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