H5FD_class_t

Struct H5FD_class_t 

Source
#[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

Source§

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)

Performs copy-assignment from source. Read more
Source§

impl Debug for H5FD_class_t

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for H5FD_class_t

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for H5FD_class_t

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.