pub enum FixedPageFilter {
All,
First,
NotFirst,
Left,
Right,
RightNotFirst,
}Expand description
Which pages a fixed element repeats on.
Variants§
All
Every page (the default).
First
The first page only.
NotFirst
Every page except the first.
Left
LEFT (verso) pages only — even 1-based page numbers.
Right
RIGHT (recto) pages only — odd 1-based page numbers, including 1.
RightNotFirst
RIGHT pages except the first (used when :first overrides or
suppresses a margin-box slot that :right/base would otherwise
fill — :first outranks parity per CSS Paged Media specificity).
Implementations§
Trait Implementations§
Source§impl Clone for FixedPageFilter
impl Clone for FixedPageFilter
impl Copy for FixedPageFilter
Source§impl Debug for FixedPageFilter
impl Debug for FixedPageFilter
Source§impl Default for FixedPageFilter
impl Default for FixedPageFilter
Source§impl<'de> Deserialize<'de> for FixedPageFilter
impl<'de> Deserialize<'de> for FixedPageFilter
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FixedPageFilter
Source§impl PartialEq for FixedPageFilter
impl PartialEq for FixedPageFilter
Source§impl Serialize for FixedPageFilter
impl Serialize for FixedPageFilter
impl StructuralPartialEq for FixedPageFilter
Auto Trait Implementations§
impl Freeze for FixedPageFilter
impl RefUnwindSafe for FixedPageFilter
impl Send for FixedPageFilter
impl Sync for FixedPageFilter
impl Unpin for FixedPageFilter
impl UnsafeUnpin for FixedPageFilter
impl UnwindSafe for FixedPageFilter
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