pub enum Situation {
First(Side),
Body(Side),
Blank,
}Expand description
The situation a page finds itself in, which is what @page
selects on beyond the page’s name.
Variants§
First(Side)
The page a page group opens on: @page :first.
Body(Side)
Any later page of the group.
Blank
A page inserted to square the sheet: @page :blank.
Implementations§
Trait Implementations§
impl Copy for Situation
impl Eq for Situation
impl StructuralPartialEq for Situation
Auto Trait Implementations§
impl Freeze for Situation
impl RefUnwindSafe for Situation
impl Send for Situation
impl Sync for Situation
impl Unpin for Situation
impl UnsafeUnpin for Situation
impl UnwindSafe for Situation
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.