[][src]Struct mupdf_sys::fz_document

#[repr(C)]pub struct fz_document {
    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 layout: fz_document_layout_fn,
    pub make_bookmark: fz_document_make_bookmark_fn,
    pub lookup_bookmark: fz_document_lookup_bookmark_fn,
    pub resolve_link: fz_document_resolve_link_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 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,
}

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_intdrop_document: fz_document_drop_fnneeds_password: fz_document_needs_password_fnauthenticate_password: fz_document_authenticate_password_fnhas_permission: fz_document_has_permission_fnload_outline: fz_document_load_outline_fnlayout: fz_document_layout_fnmake_bookmark: fz_document_make_bookmark_fnlookup_bookmark: fz_document_lookup_bookmark_fnresolve_link: fz_document_resolve_link_fncount_chapters: fz_document_count_chapters_fncount_pages: fz_document_count_pages_fnload_page: fz_document_load_page_fnlookup_metadata: fz_document_lookup_metadata_fnget_output_intent: fz_document_output_intent_fnoutput_accelerator: fz_document_output_accelerator_fndid_layout: c_intis_reflowable: c_intopen: *mut fz_page

Trait Implementations

impl Clone for fz_document[src]

impl Copy for fz_document[src]

impl Debug for fz_document[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.