Struct mupdf_sys::fz_archive[][src]

#[repr(C)]pub struct fz_archive {
    pub file: *mut fz_stream,
    pub format: *const c_char,
    pub drop_archive: Option<unsafe extern "C" fn(ctx: *mut fz_context, arch: *mut fz_archive)>,
    pub count_entries: Option<unsafe extern "C" fn(ctx: *mut fz_context, arch: *mut fz_archive) -> c_int>,
    pub list_entry: Option<unsafe extern "C" fn(ctx: *mut fz_context, arch: *mut fz_archive, idx: c_int) -> *const c_char>,
    pub has_entry: Option<unsafe extern "C" fn(ctx: *mut fz_context, arch: *mut fz_archive, name: *const c_char) -> c_int>,
    pub read_entry: Option<unsafe extern "C" fn(ctx: *mut fz_context, arch: *mut fz_archive, name: *const c_char) -> *mut fz_buffer>,
    pub open_entry: Option<unsafe extern "C" fn(ctx: *mut fz_context, arch: *mut fz_archive, name: *const c_char) -> *mut fz_stream>,
}

Implementation details: Subject to change.

Fields

file: *mut fz_streamformat: *const c_chardrop_archive: Option<unsafe extern "C" fn(ctx: *mut fz_context, arch: *mut fz_archive)>count_entries: Option<unsafe extern "C" fn(ctx: *mut fz_context, arch: *mut fz_archive) -> c_int>list_entry: Option<unsafe extern "C" fn(ctx: *mut fz_context, arch: *mut fz_archive, idx: c_int) -> *const c_char>has_entry: Option<unsafe extern "C" fn(ctx: *mut fz_context, arch: *mut fz_archive, name: *const c_char) -> c_int>read_entry: Option<unsafe extern "C" fn(ctx: *mut fz_context, arch: *mut fz_archive, name: *const c_char) -> *mut fz_buffer>open_entry: Option<unsafe extern "C" fn(ctx: *mut fz_context, arch: *mut fz_archive, name: *const c_char) -> *mut fz_stream>

Trait Implementations

impl Clone for fz_archive[src]

impl Copy for fz_archive[src]

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