#[repr(C)]pub struct H5FD_class_t {Show 31 fields
pub name: *const c_char,
pub maxaddr: haddr_t,
pub fc_degree: H5F_close_degree_t,
pub sb_size: Option<extern "C" fn(file: *mut H5FD_t) -> hsize_t>,
pub sb_encode: Option<extern "C" fn(file: *mut H5FD_t, name: *mut c_char, p: *mut c_uchar) -> herr_t>,
pub sb_decode: Option<extern "C" fn(f: *mut H5FD_t, name: *const c_char, p: *const c_uchar) -> herr_t>,
pub fapl_size: size_t,
pub fapl_get: Option<extern "C" fn(file: *mut H5FD_t) -> *mut c_void>,
pub fapl_copy: Option<extern "C" fn(fapl: *const c_void) -> *mut c_void>,
pub fapl_free: Option<extern "C" fn(fapl: *mut c_void) -> herr_t>,
pub dxpl_size: size_t,
pub dxpl_copy: Option<extern "C" fn(dxpl: *const c_void) -> *mut c_void>,
pub dxpl_free: Option<extern "C" fn(dxpl: *mut c_void) -> herr_t>,
pub open: Option<extern "C" fn(name: *const c_char, flags: c_uint, fapl: hid_t, maxaddr: haddr_t) -> *mut H5FD_t>,
pub close: Option<extern "C" fn(file: *mut H5FD_t) -> herr_t>,
pub cmp: Option<extern "C" fn(f1: *const H5FD_t, f2: *const H5FD_t) -> c_int>,
pub query: Option<extern "C" fn(f1: *const H5FD_t, flags: *mut c_ulong) -> herr_t>,
pub get_type_map: Option<extern "C" fn(file: *const H5FD_t, type_map: *mut H5FD_mem_t) -> herr_t>,
pub alloc: Option<extern "C" fn(file: *mut H5FD_t, type_: H5FD_mem_t, dxpl_id: hid_t, size: hsize_t) -> haddr_t>,
pub free: Option<extern "C" fn(file: *mut H5FD_t, type_: H5FD_mem_t, dxpl_id: hid_t, addr: haddr_t, size: hsize_t) -> herr_t>,
pub get_eoa: Option<extern "C" fn(file: *const H5FD_t, type_: H5FD_mem_t) -> haddr_t>,
pub set_eoa: Option<extern "C" fn(file: *mut H5FD_t, type_: H5FD_mem_t, addr: haddr_t) -> herr_t>,
pub get_eof: Option<extern "C" fn(file: *const H5FD_t) -> haddr_t>,
pub get_handle: Option<extern "C" fn(file: *mut H5FD_t, fapl: hid_t, file_handle: *mut *mut c_void) -> herr_t>,
pub read: Option<extern "C" fn(file: *mut H5FD_t, type_: H5FD_mem_t, dxpl: hid_t, addr: haddr_t, size: size_t, buffer: *mut c_void) -> herr_t>,
pub write: Option<extern "C" fn(file: *mut H5FD_t, type_: H5FD_mem_t, dxpl: hid_t, addr: haddr_t, size: size_t, buffer: *const c_void) -> herr_t>,
pub flush: Option<extern "C" fn(file: *mut H5FD_t, dxpl_id: hid_t, closing: c_uint) -> herr_t>,
pub truncate: Option<extern "C" fn(file: *mut H5FD_t, dxpl_id: hid_t, closing: hbool_t) -> herr_t>,
pub lock: Option<extern "C" fn(file: *mut H5FD_t, oid: *mut c_uchar, lock_type: c_uint, last: hbool_t) -> herr_t>,
pub unlock: Option<extern "C" fn(file: *mut H5FD_t, oid: *mut c_uchar, last: hbool_t) -> herr_t>,
pub fl_map: [H5FD_mem_t; 7],
}Fields§
§name: *const c_char§maxaddr: haddr_t§fc_degree: H5F_close_degree_t§sb_size: Option<extern "C" fn(file: *mut H5FD_t) -> hsize_t>§sb_encode: Option<extern "C" fn(file: *mut H5FD_t, name: *mut c_char, p: *mut c_uchar) -> herr_t>§sb_decode: Option<extern "C" fn(f: *mut H5FD_t, name: *const c_char, p: *const c_uchar) -> herr_t>§fapl_size: size_t§fapl_get: Option<extern "C" fn(file: *mut H5FD_t) -> *mut c_void>§fapl_copy: Option<extern "C" fn(fapl: *const c_void) -> *mut c_void>§fapl_free: Option<extern "C" fn(fapl: *mut c_void) -> herr_t>§dxpl_size: size_t§dxpl_copy: Option<extern "C" fn(dxpl: *const c_void) -> *mut c_void>§dxpl_free: Option<extern "C" fn(dxpl: *mut c_void) -> herr_t>§open: Option<extern "C" fn(name: *const c_char, flags: c_uint, fapl: hid_t, maxaddr: haddr_t) -> *mut H5FD_t>§close: Option<extern "C" fn(file: *mut H5FD_t) -> herr_t>§cmp: Option<extern "C" fn(f1: *const H5FD_t, f2: *const H5FD_t) -> c_int>§query: Option<extern "C" fn(f1: *const H5FD_t, flags: *mut c_ulong) -> herr_t>§get_type_map: Option<extern "C" fn(file: *const H5FD_t, type_map: *mut H5FD_mem_t) -> herr_t>§alloc: Option<extern "C" fn(file: *mut H5FD_t, type_: H5FD_mem_t, dxpl_id: hid_t, size: hsize_t) -> haddr_t>§free: Option<extern "C" fn(file: *mut H5FD_t, type_: H5FD_mem_t, dxpl_id: hid_t, addr: haddr_t, size: hsize_t) -> herr_t>§get_eoa: Option<extern "C" fn(file: *const H5FD_t, type_: H5FD_mem_t) -> haddr_t>§set_eoa: Option<extern "C" fn(file: *mut H5FD_t, type_: H5FD_mem_t, addr: haddr_t) -> herr_t>§get_eof: Option<extern "C" fn(file: *const H5FD_t) -> haddr_t>§get_handle: Option<extern "C" fn(file: *mut H5FD_t, fapl: hid_t, file_handle: *mut *mut c_void) -> herr_t>§read: Option<extern "C" fn(file: *mut H5FD_t, type_: H5FD_mem_t, dxpl: hid_t, addr: haddr_t, size: size_t, buffer: *mut c_void) -> herr_t>§write: Option<extern "C" fn(file: *mut H5FD_t, type_: H5FD_mem_t, dxpl: hid_t, addr: haddr_t, size: size_t, buffer: *const c_void) -> herr_t>§flush: Option<extern "C" fn(file: *mut H5FD_t, dxpl_id: hid_t, closing: c_uint) -> herr_t>§truncate: Option<extern "C" fn(file: *mut H5FD_t, dxpl_id: hid_t, closing: hbool_t) -> herr_t>§lock: Option<extern "C" fn(file: *mut H5FD_t, oid: *mut c_uchar, lock_type: c_uint, last: hbool_t) -> herr_t>§unlock: Option<extern "C" fn(file: *mut H5FD_t, oid: *mut c_uchar, last: hbool_t) -> herr_t>§fl_map: [H5FD_mem_t; 7]Trait Implementations§
Source§impl Clone for H5FD_class_t
impl Clone for H5FD_class_t
Source§fn clone(&self) -> H5FD_class_t
fn clone(&self) -> H5FD_class_t
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 H5FD_class_t
impl Debug for H5FD_class_t
Source§impl Default for H5FD_class_t
impl Default for H5FD_class_t
impl Copy for H5FD_class_t
Auto Trait Implementations§
impl Freeze for H5FD_class_t
impl RefUnwindSafe for H5FD_class_t
impl !Send for H5FD_class_t
impl !Sync for H5FD_class_t
impl Unpin for H5FD_class_t
impl UnwindSafe for H5FD_class_t
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