pub enum LineEnding {
CR,
LF,
CRLF,
}
Expand description
A line ending style allowed in a Java properties file.
Variants§
Trait Implementations§
Source§impl Clone for LineEnding
impl Clone for LineEnding
Source§fn clone(&self) -> LineEnding
fn clone(&self) -> LineEnding
Returns a copy 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 LineEnding
impl Debug for LineEnding
Source§impl Display for LineEnding
impl Display for LineEnding
Source§impl Hash for LineEnding
impl Hash for LineEnding
Source§impl Ord for LineEnding
impl Ord for LineEnding
Source§fn cmp(&self, other: &LineEnding) -> Ordering
fn cmp(&self, other: &LineEnding) -> 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 LineEnding
impl PartialEq for LineEnding
Source§impl PartialOrd for LineEnding
impl PartialOrd for LineEnding
impl Copy for LineEnding
impl Eq for LineEnding
impl StructuralPartialEq for LineEnding
Auto Trait Implementations§
impl Freeze for LineEnding
impl RefUnwindSafe for LineEnding
impl Send for LineEnding
impl Sync for LineEnding
impl Unpin for LineEnding
impl UnwindSafe for LineEnding
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