Enum parser_database::ast::NewlineType  
source · pub enum NewlineType {
    Unix,
    Windows,
}Expand description
Defines the newline type of a PSL block.
Variants§
Trait Implementations§
source§impl AsRef<str> for NewlineType
 
impl AsRef<str> for NewlineType
source§impl Clone for NewlineType
 
impl Clone for NewlineType
source§fn clone(&self) -> NewlineType
 
fn clone(&self) -> NewlineType
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 NewlineType
 
impl Debug for NewlineType
source§impl Default for NewlineType
 
impl Default for NewlineType
source§fn default() -> NewlineType
 
fn default() -> NewlineType
Returns the “default value” for a type. Read more
source§impl Display for NewlineType
 
impl Display for NewlineType
source§impl PartialEq for NewlineType
 
impl PartialEq for NewlineType
source§fn eq(&self, other: &NewlineType) -> bool
 
fn eq(&self, other: &NewlineType) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Copy for NewlineType
impl StructuralPartialEq for NewlineType
Auto Trait Implementations§
impl RefUnwindSafe for NewlineType
impl Send for NewlineType
impl Sync for NewlineType
impl Unpin for NewlineType
impl UnwindSafe for NewlineType
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