Struct mupdf_sys::fz_document
source · #[repr(C)]pub struct fz_document {Show 22 fields
pub refs: c_int,
pub drop_document: fz_document_drop_fn,
pub needs_password: fz_document_needs_password_fn,
pub authenticate_password: fz_document_authenticate_password_fn,
pub has_permission: fz_document_has_permission_fn,
pub load_outline: fz_document_load_outline_fn,
pub outline_iterator: fz_document_outline_iterator_fn,
pub layout: fz_document_layout_fn,
pub make_bookmark: fz_document_make_bookmark_fn,
pub lookup_bookmark: fz_document_lookup_bookmark_fn,
pub resolve_link_dest: fz_document_resolve_link_dest_fn,
pub format_link_uri: fz_document_format_link_uri_fn,
pub count_chapters: fz_document_count_chapters_fn,
pub count_pages: fz_document_count_pages_fn,
pub load_page: fz_document_load_page_fn,
pub lookup_metadata: fz_document_lookup_metadata_fn,
pub set_metadata: fz_document_set_metadata_fn,
pub get_output_intent: fz_document_output_intent_fn,
pub output_accelerator: fz_document_output_accelerator_fn,
pub did_layout: c_int,
pub is_reflowable: c_int,
pub open: *mut fz_page,
}
Expand description
Structure definition is public so other classes can derive from it. Callers should not access the members directly, though implementations will need initialize functions directly.
Fields§
§refs: c_int
§drop_document: fz_document_drop_fn
§needs_password: fz_document_needs_password_fn
§authenticate_password: fz_document_authenticate_password_fn
§has_permission: fz_document_has_permission_fn
§load_outline: fz_document_load_outline_fn
§outline_iterator: fz_document_outline_iterator_fn
§layout: fz_document_layout_fn
§make_bookmark: fz_document_make_bookmark_fn
§lookup_bookmark: fz_document_lookup_bookmark_fn
§resolve_link_dest: fz_document_resolve_link_dest_fn
§format_link_uri: fz_document_format_link_uri_fn
§count_chapters: fz_document_count_chapters_fn
§count_pages: fz_document_count_pages_fn
§load_page: fz_document_load_page_fn
§lookup_metadata: fz_document_lookup_metadata_fn
§set_metadata: fz_document_set_metadata_fn
§get_output_intent: fz_document_output_intent_fn
§output_accelerator: fz_document_output_accelerator_fn
§did_layout: c_int
§is_reflowable: c_int
§open: *mut fz_page
Trait Implementations§
source§impl Clone for fz_document
impl Clone for fz_document
source§fn clone(&self) -> fz_document
fn clone(&self) -> fz_document
Returns a copy 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 more