pub struct PageSlot {
pub position: usize,
pub spread: bool,
pub left: bool,
}Expand description
One page file of a work: a single page or a spread.
Fields§
§position: usizePosition of the (first) page, counted from 0.
spread: boolThe file is a two-page spread.
left: boolSide of the page at position.
Trait Implementations§
impl Copy for PageSlot
impl Eq for PageSlot
impl StructuralPartialEq for PageSlot
Auto Trait Implementations§
impl Freeze for PageSlot
impl RefUnwindSafe for PageSlot
impl Send for PageSlot
impl Sync for PageSlot
impl Unpin for PageSlot
impl UnsafeUnpin for PageSlot
impl UnwindSafe for PageSlot
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.