pub enum LineTerminator {
Lf,
Crlf,
Cr,
None,
}Expand description
Line terminator as stored in the body.
Variants§
Trait Implementations§
Source§impl Clone for LineTerminator
impl Clone for LineTerminator
Source§fn clone(&self) -> LineTerminator
fn clone(&self) -> LineTerminator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LineTerminator
Source§impl Debug for LineTerminator
impl Debug for LineTerminator
Source§impl<'de> Deserialize<'de> for LineTerminator
impl<'de> Deserialize<'de> for LineTerminator
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LineTerminator
Source§impl PartialEq for LineTerminator
impl PartialEq for LineTerminator
Source§impl Serialize for LineTerminator
impl Serialize for LineTerminator
impl StructuralPartialEq for LineTerminator
Auto Trait Implementations§
impl Freeze for LineTerminator
impl RefUnwindSafe for LineTerminator
impl Send for LineTerminator
impl Sync for LineTerminator
impl Unpin for LineTerminator
impl UnsafeUnpin for LineTerminator
impl UnwindSafe for LineTerminator
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