pub struct RenderBookPageMapEntry {
pub chapter_index: usize,
pub chapter_href: String,
pub first_page_index: usize,
pub page_count: usize,
}Expand description
Compact chapter-level page span used by RenderBookPageMap.
Fields§
§chapter_index: usizeChapter index in spine order (0-based).
chapter_href: StringChapter href in OPF-relative form.
first_page_index: usizeFirst global rendered page index for this chapter.
page_count: usizeRendered page count for this chapter.
Trait Implementations§
Source§impl Clone for RenderBookPageMapEntry
impl Clone for RenderBookPageMapEntry
Source§fn clone(&self) -> RenderBookPageMapEntry
fn clone(&self) -> RenderBookPageMapEntry
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 RenderBookPageMapEntry
impl Debug for RenderBookPageMapEntry
Source§impl PartialEq for RenderBookPageMapEntry
impl PartialEq for RenderBookPageMapEntry
impl Eq for RenderBookPageMapEntry
impl StructuralPartialEq for RenderBookPageMapEntry
Auto Trait Implementations§
impl Freeze for RenderBookPageMapEntry
impl RefUnwindSafe for RenderBookPageMapEntry
impl Send for RenderBookPageMapEntry
impl Sync for RenderBookPageMapEntry
impl Unpin for RenderBookPageMapEntry
impl UnsafeUnpin for RenderBookPageMapEntry
impl UnwindSafe for RenderBookPageMapEntry
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