pub enum TrailingNewlinePolicy {
Never,
IfMultiline,
Always,
}Variants§
Never
Never produces a newline at the end of EDN
IfMultiline
Produces a newline at the end of EDN if there are any internal newlines
Always
Always produces a newline at the end of EDN
Trait Implementations§
Source§impl Clone for TrailingNewlinePolicy
impl Clone for TrailingNewlinePolicy
Source§fn clone(&self) -> TrailingNewlinePolicy
fn clone(&self) -> TrailingNewlinePolicy
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 TrailingNewlinePolicy
impl Debug for TrailingNewlinePolicy
Source§impl PartialEq for TrailingNewlinePolicy
impl PartialEq for TrailingNewlinePolicy
impl Copy for TrailingNewlinePolicy
impl StructuralPartialEq for TrailingNewlinePolicy
Auto Trait Implementations§
impl Freeze for TrailingNewlinePolicy
impl RefUnwindSafe for TrailingNewlinePolicy
impl Send for TrailingNewlinePolicy
impl Sync for TrailingNewlinePolicy
impl Unpin for TrailingNewlinePolicy
impl UnsafeUnpin for TrailingNewlinePolicy
impl UnwindSafe for TrailingNewlinePolicy
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