Expand description
Indicator that a character is a line break, soft or hard. Includes the offset (byte-index) position.
Variants
Soft(usize)
Soft line break (offset).
Hard(usize)
Hard line break (offset).
Implementations
Trait Implementations
impl Copy for LineBreak
impl Eq for LineBreak
impl StructuralEq for LineBreak
impl StructuralPartialEq for LineBreak
Auto Trait Implementations
impl RefUnwindSafe for LineBreak
impl Send for LineBreak
impl Sync for LineBreak
impl Unpin for LineBreak
impl UnwindSafe for LineBreak
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more