#[repr(C)]pub struct fz_archive {
pub refs: c_int,
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>,
}Expand description
Implementation details: Subject to change.
Fields§
§refs: c_int§file: *mut fz_stream§format: *const c_char§drop_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§
Source§impl Clone for fz_archive
impl Clone for fz_archive
Source§fn clone(&self) -> fz_archive
fn clone(&self) -> fz_archive
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_archive
impl Debug for fz_archive
impl Copy for fz_archive
Auto Trait Implementations§
impl Freeze for fz_archive
impl RefUnwindSafe for fz_archive
impl !Send for fz_archive
impl !Sync for fz_archive
impl Unpin for fz_archive
impl UnwindSafe for fz_archive
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