pub enum LineBreakKind {
Backslash,
Spaces,
}Expand description
Which syntax produced a hard LineBreak.
Variants§
Trait Implementations§
Source§impl Clone for LineBreakKind
impl Clone for LineBreakKind
Source§fn clone(&self) -> LineBreakKind
fn clone(&self) -> LineBreakKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LineBreakKind
Source§impl Debug for LineBreakKind
impl Debug for LineBreakKind
impl Eq for LineBreakKind
Source§impl PartialEq for LineBreakKind
impl PartialEq for LineBreakKind
Source§fn eq(&self, other: &LineBreakKind) -> bool
fn eq(&self, other: &LineBreakKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LineBreakKind
Auto Trait Implementations§
impl Freeze for LineBreakKind
impl RefUnwindSafe for LineBreakKind
impl Send for LineBreakKind
impl Sync for LineBreakKind
impl Unpin for LineBreakKind
impl UnsafeUnpin for LineBreakKind
impl UnwindSafe for LineBreakKind
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