pub enum MasterPageUsage {
All,
Left,
Mirrored,
Right,
}Expand description
19.509 style:page-usage
The style:page-usage attribute specifies the type of pages that a master page should generate.
The defined values for the style:page-usage attribute are:
- all: if there are no style:header-left or style:footer-left elements, the header and footer content is the same for left and right pages.
- left: style:header-right and style:footer-right elements are ignored.
- mirrored: if there are no style:header-left or style:footer-left elements, the header and footer content is the same for left and right pages.
- right: style:header-left and style:footer-left elements are ignored.
The default value for this attribute is all.
Variants§
Trait Implementations§
Source§impl Clone for MasterPageUsage
impl Clone for MasterPageUsage
Source§fn clone(&self) -> MasterPageUsage
fn clone(&self) -> MasterPageUsage
Returns a duplicate of the value. Read more
1.0.0 · 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 MasterPageUsage
impl Debug for MasterPageUsage
Source§impl Display for MasterPageUsage
impl Display for MasterPageUsage
Source§impl PartialEq for MasterPageUsage
impl PartialEq for MasterPageUsage
impl Copy for MasterPageUsage
impl Eq for MasterPageUsage
impl StructuralPartialEq for MasterPageUsage
Auto Trait Implementations§
impl Freeze for MasterPageUsage
impl RefUnwindSafe for MasterPageUsage
impl Send for MasterPageUsage
impl Sync for MasterPageUsage
impl Unpin for MasterPageUsage
impl UnsafeUnpin for MasterPageUsage
impl UnwindSafe for MasterPageUsage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.