#[non_exhaustive]pub enum PageOverrideScope {
Single(u32),
All,
}Expand description
Whether a PageOverrideRecord targets one specific page or the
whole document.
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.
Single(u32)
/PAGE — single-page override. 1-based page index.
All
/PAGES — document-wide defaults applied to every page that
doesn’t have an explicit /PAGE value for that same key.
Trait Implementations§
Source§impl Clone for PageOverrideScope
impl Clone for PageOverrideScope
Source§fn clone(&self) -> PageOverrideScope
fn clone(&self) -> PageOverrideScope
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 moreimpl Copy for PageOverrideScope
Source§impl Debug for PageOverrideScope
impl Debug for PageOverrideScope
impl Eq for PageOverrideScope
Source§impl PartialEq for PageOverrideScope
impl PartialEq for PageOverrideScope
impl StructuralPartialEq for PageOverrideScope
Auto Trait Implementations§
impl Freeze for PageOverrideScope
impl RefUnwindSafe for PageOverrideScope
impl Send for PageOverrideScope
impl Sync for PageOverrideScope
impl Unpin for PageOverrideScope
impl UnsafeUnpin for PageOverrideScope
impl UnwindSafe for PageOverrideScope
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