#[non_exhaustive]pub enum BreakBefore {
Show 14 variants
All,
Always,
Auto,
Avoid,
AvoidColumn,
AvoidPage,
AvoidRegion,
Column,
Left,
Page,
Recto,
Region,
Right,
Verso,
}Expand description
A value of break-before.
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.
All
all.
Always
always.
Auto
auto.
Avoid
avoid.
AvoidColumn
avoid-column.
AvoidPage
avoid-page.
AvoidRegion
avoid-region.
Column
column.
Left
left.
Page
page.
Recto
recto.
Region
region.
Right
right.
Verso
verso.
Trait Implementations§
Source§impl Clone for BreakBefore
impl Clone for BreakBefore
Source§fn clone(&self) -> BreakBefore
fn clone(&self) -> BreakBefore
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 moreSource§impl Debug for BreakBefore
impl Debug for BreakBefore
Source§impl Display for BreakBefore
impl Display for BreakBefore
Source§impl PartialEq for BreakBefore
impl PartialEq for BreakBefore
impl StructuralPartialEq for BreakBefore
Auto Trait Implementations§
impl Freeze for BreakBefore
impl RefUnwindSafe for BreakBefore
impl Send for BreakBefore
impl Sync for BreakBefore
impl Unpin for BreakBefore
impl UnsafeUnpin for BreakBefore
impl UnwindSafe for BreakBefore
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