#[repr(C)]pub struct fz_location {
pub chapter: c_int,
pub page: c_int,
}Expand description
Locations within the document are referred to in terms of
chapter and page, rather than just a page number. For some
documents (such as epub documents with large numbers of pages
broken into many chapters) this can make navigation much faster
as only the required chapter needs to be decoded at a time.
Fields§
§chapter: c_int§page: c_intTrait Implementations§
Source§impl Clone for fz_location
impl Clone for fz_location
Source§fn clone(&self) -> fz_location
fn clone(&self) -> fz_location
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 fz_location
impl Debug for fz_location
impl Copy for fz_location
Auto Trait Implementations§
impl Freeze for fz_location
impl RefUnwindSafe for fz_location
impl Send for fz_location
impl Sync for fz_location
impl Unpin for fz_location
impl UnwindSafe for fz_location
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