#[repr(C)]pub struct fz_document {Show 25 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 page_label: fz_document_page_label_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 run_structure: fz_document_run_structure_fn,
pub as_pdf: fz_document_as_pdf_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§page_label: fz_document_page_label_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§run_structure: fz_document_run_structure_fn§as_pdf: fz_document_as_pdf_fn§did_layout: c_int§is_reflowable: c_int§open: *mut fz_pageTrait 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 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_document
impl Debug for fz_document
impl Copy for fz_document
Auto Trait Implementations§
impl Freeze for fz_document
impl RefUnwindSafe for fz_document
impl !Send for fz_document
impl !Sync for fz_document
impl Unpin for fz_document
impl UnwindSafe for fz_document
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