pub enum Chomping {
Strip,
Clip,
Keep,
}
Expand description
Chomping, how final line breaks and trailing empty lines are interpreted.
See YAML spec 8.1.1.2.
Variants§
Strip
The final line break and any trailing empty lines are excluded.
Clip
The final line break is preserved, but trailing empty lines are excluded.
Keep
The final line break and trailing empty lines are included.
Trait Implementations§
impl Eq for Chomping
impl StructuralPartialEq for Chomping
Auto Trait Implementations§
impl Freeze for Chomping
impl RefUnwindSafe for Chomping
impl Send for Chomping
impl Sync for Chomping
impl Unpin for Chomping
impl UnwindSafe for Chomping
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