pub enum NewLine {
AlwaysAs(char),
AfterSpaceAs(char),
Hidden,
}Expand description
Wheter to show the new line or not.
Variants§
AlwaysAs(char)
Show the given character on every new line.
AfterSpaceAs(char)
Show the given character only when there is whitespace at end of the line.
Hidden
Don’t print anything for a new line character.
Implementations§
Trait Implementations§
source§impl PartialEq for NewLine
impl PartialEq for NewLine
impl Copy for NewLine
impl Eq for NewLine
impl StructuralPartialEq for NewLine
Auto Trait Implementations§
impl Freeze for NewLine
impl RefUnwindSafe for NewLine
impl Send for NewLine
impl Sync for NewLine
impl Unpin for NewLine
impl UnwindSafe for NewLine
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)