pub enum BlankLines {
Keep,
Remove,
}Expand description
How blank lines in the input are treated.
Variants§
Keep
Keep one blank line wherever the input has one or more between two elements, comments or header items. A container holding one always breaks. Blank lines right after an opening or before a closing bracket are dropped.
Remove
Remove all blank lines.
Trait Implementations§
Source§impl Clone for BlankLines
impl Clone for BlankLines
impl Copy for BlankLines
Source§impl Debug for BlankLines
impl Debug for BlankLines
Source§impl Default for BlankLines
impl Default 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
impl Eq for BlankLines
Source§impl Hash for BlankLines
impl Hash for BlankLines
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