#[repr(C)]pub enum PageBreak {
Auto = 0,
Avoid = 1,
Always = 2,
All = 3,
Page = 4,
AvoidPage = 5,
Left = 6,
Right = 7,
Recto = 8,
Verso = 9,
Column = 10,
AvoidColumn = 11,
}Expand description
Represents a break-before or break-after CSS property value.
Variants§
Auto = 0
Avoid = 1
Always = 2
All = 3
Page = 4
AvoidPage = 5
Left = 6
Right = 7
Recto = 8
Verso = 9
Column = 10
AvoidColumn = 11
Trait Implementations§
Source§impl FormatAsRustCode for PageBreak
impl FormatAsRustCode for PageBreak
fn format_as_rust_code(&self, _tabs: usize) -> String
Source§impl From<PageBreak> for CssProperty
impl From<PageBreak> for CssProperty
Source§impl Ord for PageBreak
impl Ord for PageBreak
Source§impl PartialOrd for PageBreak
impl PartialOrd for PageBreak
Source§impl PrintAsCssValue for PageBreak
impl PrintAsCssValue for PageBreak
fn print_as_css_value(&self) -> String
impl Copy for PageBreak
impl Eq for PageBreak
impl StructuralPartialEq for PageBreak
Auto Trait Implementations§
impl Freeze for PageBreak
impl RefUnwindSafe for PageBreak
impl Send for PageBreak
impl Sync for PageBreak
impl Unpin for PageBreak
impl UnwindSafe for PageBreak
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