#[repr(C)]pub struct pdf_document {Show 65 fields
pub super_: fz_document,
pub file: *mut fz_stream,
pub version: c_int,
pub is_fdf: c_int,
pub bias: c_int,
pub startxref: i64,
pub file_size: i64,
pub crypt: *mut pdf_crypt,
pub ocg: *mut pdf_ocg_descriptor,
pub oi: *mut fz_colorspace,
pub max_xref_len: c_int,
pub num_xref_sections: c_int,
pub saved_num_xref_sections: c_int,
pub num_incremental_sections: c_int,
pub xref_base: c_int,
pub disallow_new_increments: c_int,
pub local_xref: *mut pdf_xref,
pub local_xref_nesting: c_int,
pub xref_sections: *mut pdf_xref,
pub saved_xref_sections: *mut pdf_xref,
pub xref_index: *mut c_int,
pub save_in_progress: c_int,
pub last_xref_was_old_style: c_int,
pub has_linearization_object: c_int,
pub map_page_count: c_int,
pub rev_page_map: *mut pdf_rev_page_map,
pub fwd_page_map: *mut *mut pdf_obj,
pub page_tree_broken: c_int,
pub repair_attempted: c_int,
pub repair_in_progress: c_int,
pub non_structural_change: c_int,
pub file_reading_linearly: c_int,
pub file_length: i64,
pub linear_page_count: c_int,
pub linear_obj: *mut pdf_obj,
pub linear_page_refs: *mut *mut pdf_obj,
pub linear_page1_obj_num: c_int,
pub linear_pos: i64,
pub linear_page_num: c_int,
pub hint_object_offset: c_int,
pub hint_object_length: c_int,
pub hints_loaded: c_int,
pub hint_page: *mut pdf_hint_page,
pub hint_shared_ref: *mut c_int,
pub hint_shared: *mut pdf_hint_shared,
pub hint_obj_offsets_max: c_int,
pub hint_obj_offsets: *mut i64,
pub resources_localised: c_int,
pub lexbuf: pdf_lexbuf_large,
pub js: *mut pdf_js,
pub recalculate: c_int,
pub redacted: c_int,
pub resynth_required: c_int,
pub event_cb: pdf_doc_event_cb,
pub free_event_data_cb: pdf_free_doc_event_data_cb,
pub event_cb_data: *mut c_void,
pub num_type3_fonts: c_int,
pub max_type3_fonts: c_int,
pub type3_fonts: *mut *mut fz_font,
pub resources: pdf_document__bindgen_ty_1,
pub orphans_max: c_int,
pub orphans_count: c_int,
pub orphans: *mut *mut pdf_obj,
pub xfa: *mut fz_xml_doc,
pub journal: *mut pdf_journal,
}Fields§
§super_: fz_document§file: *mut fz_stream§version: c_int§is_fdf: c_int§bias: c_int§startxref: i64§file_size: i64§crypt: *mut pdf_crypt§ocg: *mut pdf_ocg_descriptor§oi: *mut fz_colorspace§max_xref_len: c_int§num_xref_sections: c_int§saved_num_xref_sections: c_int§num_incremental_sections: c_int§xref_base: c_int§disallow_new_increments: c_int§local_xref: *mut pdf_xref§local_xref_nesting: c_int§xref_sections: *mut pdf_xref§saved_xref_sections: *mut pdf_xref§xref_index: *mut c_int§save_in_progress: c_int§last_xref_was_old_style: c_int§has_linearization_object: c_int§map_page_count: c_int§rev_page_map: *mut pdf_rev_page_map§fwd_page_map: *mut *mut pdf_obj§page_tree_broken: c_int§repair_attempted: c_int§repair_in_progress: c_int§non_structural_change: c_int§file_reading_linearly: c_int§file_length: i64§linear_page_count: c_int§linear_obj: *mut pdf_obj§linear_page_refs: *mut *mut pdf_obj§linear_page1_obj_num: c_int§linear_pos: i64§linear_page_num: c_int§hint_object_offset: c_int§hint_object_length: c_int§hints_loaded: c_int§hint_page: *mut pdf_hint_page§hint_obj_offsets_max: c_int§hint_obj_offsets: *mut i64§resources_localised: c_int§lexbuf: pdf_lexbuf_large§js: *mut pdf_js§recalculate: c_int§redacted: c_int§resynth_required: c_int§event_cb: pdf_doc_event_cb§free_event_data_cb: pdf_free_doc_event_data_cb§event_cb_data: *mut c_void§num_type3_fonts: c_int§max_type3_fonts: c_int§type3_fonts: *mut *mut fz_font§resources: pdf_document__bindgen_ty_1§orphans_max: c_int§orphans_count: c_int§orphans: *mut *mut pdf_obj§xfa: *mut fz_xml_doc§journal: *mut pdf_journalTrait Implementations§
Source§impl Clone for pdf_document
impl Clone for pdf_document
Source§fn clone(&self) -> pdf_document
fn clone(&self) -> pdf_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 pdf_document
impl Debug for pdf_document
impl Copy for pdf_document
Auto Trait Implementations§
impl Freeze for pdf_document
impl RefUnwindSafe for pdf_document
impl !Send for pdf_document
impl !Sync for pdf_document
impl Unpin for pdf_document
impl UnwindSafe for pdf_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