pub enum Chomping {
Strip,
Clip,
Keep,
}Expand description
The three YAML chomping modes.
Variants§
Strip
- — strip all trailing line breaks.
Clip
(default) — keep exactly one trailing line break.
Keep
+ — keep all trailing line breaks.
Trait Implementations§
impl Copy for Chomping
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 UnsafeUnpin 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