pub enum BlankLines {
Preserve,
Collapse,
}Variants§
Preserve
Preserve original blank lines (any number)
Collapse
Collapse multiple consecutive blank lines to a single blank line
Trait Implementations§
Source§impl Clone for BlankLines
impl Clone for BlankLines
Source§fn clone(&self) -> BlankLines
fn clone(&self) -> BlankLines
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 BlankLines
impl Debug for BlankLines
Source§impl<'de> Deserialize<'de> for BlankLines
impl<'de> Deserialize<'de> for BlankLines
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
Source§impl PartialEq for BlankLines
impl PartialEq for BlankLines
impl StructuralPartialEq for BlankLines
Auto Trait Implementations§
impl Freeze for BlankLines
impl RefUnwindSafe for BlankLines
impl Send for BlankLines
impl Sync for BlankLines
impl Unpin for BlankLines
impl UnsafeUnpin for BlankLines
impl UnwindSafe for BlankLines
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