[][src]Struct mupdf_sys::pdf_filter_options

#[repr(C)]pub struct pdf_filter_options {
    pub opaque: *mut c_void,
    pub image_filter: Option<unsafe extern "C" fn(ctx: *mut fz_context, opaque: *mut c_void, ctm: fz_matrix, name: *const c_char, image: *mut fz_image) -> *mut fz_image>,
    pub text_filter: Option<unsafe extern "C" fn(ctx: *mut fz_context, opaque: *mut c_void, ucsbuf: *mut c_int, ucslen: c_int, trm: fz_matrix, ctm: fz_matrix, bbox: fz_rect) -> c_int>,
    pub after_text_object: Option<unsafe extern "C" fn(ctx: *mut fz_context, opaque: *mut c_void, doc: *mut pdf_document, chain: *mut pdf_processor, ctm: fz_matrix)>,
    pub end_page: Option<unsafe extern "C" fn(ctx: *mut fz_context, buffer: *mut fz_buffer, arg: *mut c_void)>,
    pub recurse: c_int,
    pub instance_forms: c_int,
    pub sanitize: c_int,
    pub ascii: c_int,
}

Fields

opaque: *mut c_voidimage_filter: Option<unsafe extern "C" fn(ctx: *mut fz_context, opaque: *mut c_void, ctm: fz_matrix, name: *const c_char, image: *mut fz_image) -> *mut fz_image>text_filter: Option<unsafe extern "C" fn(ctx: *mut fz_context, opaque: *mut c_void, ucsbuf: *mut c_int, ucslen: c_int, trm: fz_matrix, ctm: fz_matrix, bbox: fz_rect) -> c_int>after_text_object: Option<unsafe extern "C" fn(ctx: *mut fz_context, opaque: *mut c_void, doc: *mut pdf_document, chain: *mut pdf_processor, ctm: fz_matrix)>end_page: Option<unsafe extern "C" fn(ctx: *mut fz_context, buffer: *mut fz_buffer, arg: *mut c_void)>recurse: c_intinstance_forms: c_intsanitize: c_intascii: c_int

Trait Implementations

impl Clone for pdf_filter_options[src]

impl Copy for pdf_filter_options[src]

impl Debug for pdf_filter_options[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.