#[non_exhaustive]pub enum ForcedBreakKind {
Line,
Page,
Column,
}Expand description
The kind of explicit break that ended a laid-out line.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ForcedBreakKind
impl Clone for ForcedBreakKind
impl Copy for ForcedBreakKind
Source§impl Debug for ForcedBreakKind
impl Debug for ForcedBreakKind
impl Eq for ForcedBreakKind
Source§impl PartialEq for ForcedBreakKind
impl PartialEq for ForcedBreakKind
impl StructuralPartialEq for ForcedBreakKind
Auto Trait Implementations§
impl Freeze for ForcedBreakKind
impl RefUnwindSafe for ForcedBreakKind
impl Send for ForcedBreakKind
impl Sync for ForcedBreakKind
impl Unpin for ForcedBreakKind
impl UnsafeUnpin for ForcedBreakKind
impl UnwindSafe for ForcedBreakKind
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