#[repr(C)]pub struct NC_Dispatch {Show 79 fields
pub model: c_int,
pub dispatch_version: c_int,
pub create: Option<unsafe extern "C" fn(path: *const c_char, cmode: c_int, initialsz: usize, basepe: c_int, chunksizehintp: *mut usize, parameters: *mut c_void, table: *const NC_Dispatch, ncid: c_int) -> c_int>,
pub open: Option<unsafe extern "C" fn(path: *const c_char, mode: c_int, basepe: c_int, chunksizehintp: *mut usize, parameters: *mut c_void, table: *const NC_Dispatch, ncid: c_int) -> c_int>,
pub redef: Option<unsafe extern "C" fn(c_int) -> c_int>,
pub _enddef: Option<unsafe extern "C" fn(c_int, usize, usize, usize, usize) -> c_int>,
pub sync: Option<unsafe extern "C" fn(c_int) -> c_int>,
pub abort: Option<unsafe extern "C" fn(c_int) -> c_int>,
pub close: Option<unsafe extern "C" fn(c_int, *mut c_void) -> c_int>,
pub set_fill: Option<unsafe extern "C" fn(c_int, c_int, *mut c_int) -> c_int>,
pub inq_format: Option<unsafe extern "C" fn(c_int, *mut c_int) -> c_int>,
pub inq_format_extended: Option<unsafe extern "C" fn(c_int, *mut c_int, *mut c_int) -> c_int>,
pub inq: Option<unsafe extern "C" fn(c_int, *mut c_int, *mut c_int, *mut c_int, *mut c_int) -> c_int>,
pub inq_type: Option<unsafe extern "C" fn(c_int, nc_type, *mut c_char, *mut usize) -> c_int>,
pub def_dim: Option<unsafe extern "C" fn(c_int, *const c_char, usize, *mut c_int) -> c_int>,
pub inq_dimid: Option<unsafe extern "C" fn(c_int, *const c_char, *mut c_int) -> c_int>,
pub inq_dim: Option<unsafe extern "C" fn(c_int, c_int, *mut c_char, *mut usize) -> c_int>,
pub inq_unlimdim: Option<unsafe extern "C" fn(ncid: c_int, unlimdimidp: *mut c_int) -> c_int>,
pub rename_dim: Option<unsafe extern "C" fn(c_int, c_int, *const c_char) -> c_int>,
pub inq_att: Option<unsafe extern "C" fn(c_int, c_int, *const c_char, *mut nc_type, *mut usize) -> c_int>,
pub inq_attid: Option<unsafe extern "C" fn(c_int, c_int, *const c_char, *mut c_int) -> c_int>,
pub inq_attname: Option<unsafe extern "C" fn(c_int, c_int, c_int, *mut c_char) -> c_int>,
pub rename_att: Option<unsafe extern "C" fn(c_int, c_int, *const c_char, *const c_char) -> c_int>,
pub del_att: Option<unsafe extern "C" fn(c_int, c_int, *const c_char) -> c_int>,
pub get_att: Option<unsafe extern "C" fn(c_int, c_int, *const c_char, *mut c_void, nc_type) -> c_int>,
pub put_att: Option<unsafe extern "C" fn(c_int, c_int, *const c_char, nc_type, usize, *const c_void, nc_type) -> c_int>,
pub def_var: Option<unsafe extern "C" fn(c_int, *const c_char, nc_type, c_int, *const c_int, *mut c_int) -> c_int>,
pub inq_varid: Option<unsafe extern "C" fn(c_int, *const c_char, *mut c_int) -> c_int>,
pub rename_var: Option<unsafe extern "C" fn(c_int, c_int, *const c_char) -> c_int>,
pub get_vara: Option<unsafe extern "C" fn(c_int, c_int, *const usize, *const usize, *mut c_void, nc_type) -> c_int>,
pub put_vara: Option<unsafe extern "C" fn(c_int, c_int, *const usize, *const usize, *const c_void, nc_type) -> c_int>,
pub get_vars: Option<unsafe extern "C" fn(c_int, c_int, *const usize, *const usize, *const isize, *mut c_void, nc_type) -> c_int>,
pub put_vars: Option<unsafe extern "C" fn(c_int, c_int, *const usize, *const usize, *const isize, *const c_void, nc_type) -> c_int>,
pub get_varm: Option<unsafe extern "C" fn(c_int, c_int, *const usize, *const usize, *const isize, *const isize, *mut c_void, nc_type) -> c_int>,
pub put_varm: Option<unsafe extern "C" fn(c_int, c_int, *const usize, *const usize, *const isize, *const isize, *const c_void, nc_type) -> c_int>,
pub inq_var_all: Option<unsafe extern "C" fn(ncid: c_int, varid: c_int, name: *mut c_char, xtypep: *mut nc_type, ndimsp: *mut c_int, dimidsp: *mut c_int, nattsp: *mut c_int, shufflep: *mut c_int, deflatep: *mut c_int, deflate_levelp: *mut c_int, fletcher32p: *mut c_int, contiguousp: *mut c_int, chunksizesp: *mut usize, no_fill: *mut c_int, fill_valuep: *mut c_void, endiannessp: *mut c_int, idp: *mut c_uint, nparamsp: *mut usize, params: *mut c_uint) -> c_int>,
pub var_par_access: Option<unsafe extern "C" fn(c_int, c_int, c_int) -> c_int>,
pub def_var_fill: Option<unsafe extern "C" fn(c_int, c_int, c_int, *const c_void) -> c_int>,
pub show_metadata: Option<unsafe extern "C" fn(c_int) -> c_int>,
pub inq_unlimdims: Option<unsafe extern "C" fn(c_int, *mut c_int, *mut c_int) -> c_int>,
pub inq_ncid: Option<unsafe extern "C" fn(c_int, *const c_char, *mut c_int) -> c_int>,
pub inq_grps: Option<unsafe extern "C" fn(c_int, *mut c_int, *mut c_int) -> c_int>,
pub inq_grpname: Option<unsafe extern "C" fn(c_int, *mut c_char) -> c_int>,
pub inq_grpname_full: Option<unsafe extern "C" fn(c_int, *mut usize, *mut c_char) -> c_int>,
pub inq_grp_parent: Option<unsafe extern "C" fn(c_int, *mut c_int) -> c_int>,
pub inq_grp_full_ncid: Option<unsafe extern "C" fn(c_int, *const c_char, *mut c_int) -> c_int>,
pub inq_varids: Option<unsafe extern "C" fn(_: c_int, nvars: *mut c_int, _: *mut c_int) -> c_int>,
pub inq_dimids: Option<unsafe extern "C" fn(_: c_int, ndims: *mut c_int, _: *mut c_int, _: c_int) -> c_int>,
pub inq_typeids: Option<unsafe extern "C" fn(_: c_int, ntypes: *mut c_int, _: *mut c_int) -> c_int>,
pub inq_type_equal: Option<unsafe extern "C" fn(c_int, nc_type, c_int, nc_type, *mut c_int) -> c_int>,
pub def_grp: Option<unsafe extern "C" fn(c_int, *const c_char, *mut c_int) -> c_int>,
pub rename_grp: Option<unsafe extern "C" fn(c_int, *const c_char) -> c_int>,
pub inq_user_type: Option<unsafe extern "C" fn(c_int, nc_type, *mut c_char, *mut usize, *mut nc_type, *mut usize, *mut c_int) -> c_int>,
pub inq_typeid: Option<unsafe extern "C" fn(c_int, *const c_char, *mut nc_type) -> c_int>,
pub def_compound: Option<unsafe extern "C" fn(c_int, usize, *const c_char, *mut nc_type) -> c_int>,
pub insert_compound: Option<unsafe extern "C" fn(c_int, nc_type, *const c_char, usize, nc_type) -> c_int>,
pub insert_array_compound: Option<unsafe extern "C" fn(c_int, nc_type, *const c_char, usize, nc_type, c_int, *const c_int) -> c_int>,
pub inq_compound_field: Option<unsafe extern "C" fn(c_int, nc_type, c_int, *mut c_char, *mut usize, *mut nc_type, *mut c_int, *mut c_int) -> c_int>,
pub inq_compound_fieldindex: Option<unsafe extern "C" fn(c_int, nc_type, *const c_char, *mut c_int) -> c_int>,
pub def_vlen: Option<unsafe extern "C" fn(_: c_int, _: *const c_char, base_typeid: nc_type, _: *mut nc_type) -> c_int>,
pub put_vlen_element: Option<unsafe extern "C" fn(c_int, c_int, *mut c_void, usize, *const c_void) -> c_int>,
pub get_vlen_element: Option<unsafe extern "C" fn(c_int, c_int, *const c_void, *mut usize, *mut c_void) -> c_int>,
pub def_enum: Option<unsafe extern "C" fn(c_int, nc_type, *const c_char, *mut nc_type) -> c_int>,
pub insert_enum: Option<unsafe extern "C" fn(c_int, nc_type, *const c_char, *const c_void) -> c_int>,
pub inq_enum_member: Option<unsafe extern "C" fn(c_int, nc_type, c_int, *mut c_char, *mut c_void) -> c_int>,
pub inq_enum_ident: Option<unsafe extern "C" fn(c_int, nc_type, c_longlong, *mut c_char) -> c_int>,
pub def_opaque: Option<unsafe extern "C" fn(c_int, usize, *const c_char, *mut nc_type) -> c_int>,
pub def_var_deflate: Option<unsafe extern "C" fn(c_int, c_int, c_int, c_int, c_int) -> c_int>,
pub def_var_fletcher32: Option<unsafe extern "C" fn(c_int, c_int, c_int) -> c_int>,
pub def_var_chunking: Option<unsafe extern "C" fn(c_int, c_int, c_int, *const usize) -> c_int>,
pub def_var_endian: Option<unsafe extern "C" fn(c_int, c_int, c_int) -> c_int>,
pub def_var_filter: Option<unsafe extern "C" fn(c_int, c_int, c_uint, usize, *const c_uint) -> c_int>,
pub set_var_chunk_cache: Option<unsafe extern "C" fn(c_int, c_int, usize, usize, f32) -> c_int>,
pub get_var_chunk_cache: Option<unsafe extern "C" fn(ncid: c_int, varid: c_int, sizep: *mut usize, nelemsp: *mut usize, preemptionp: *mut f32) -> c_int>,
pub inq_var_filter_ids: Option<unsafe extern "C" fn(ncid: c_int, varid: c_int, nfilters: *mut usize, filterids: *mut c_uint) -> c_int>,
pub inq_var_filter_info: Option<unsafe extern "C" fn(ncid: c_int, varid: c_int, id: c_uint, nparams: *mut usize, params: *mut c_uint) -> c_int>,
pub def_var_quantize: Option<unsafe extern "C" fn(ncid: c_int, varid: c_int, quantize_mode: c_int, nsd: c_int) -> c_int>,
pub inq_var_quantize: Option<unsafe extern "C" fn(ncid: c_int, varid: c_int, quantize_modep: *mut c_int, nsdp: *mut c_int) -> c_int>,
pub inq_filter_avail: Option<unsafe extern "C" fn(ncid: c_int, id: c_uint) -> c_int>,
}Available on crate feature
4.8.0 only.Fields§
§model: c_int§dispatch_version: c_int§create: Option<unsafe extern "C" fn(path: *const c_char, cmode: c_int, initialsz: usize, basepe: c_int, chunksizehintp: *mut usize, parameters: *mut c_void, table: *const NC_Dispatch, ncid: c_int) -> c_int>§open: Option<unsafe extern "C" fn(path: *const c_char, mode: c_int, basepe: c_int, chunksizehintp: *mut usize, parameters: *mut c_void, table: *const NC_Dispatch, ncid: c_int) -> c_int>§redef: Option<unsafe extern "C" fn(c_int) -> c_int>§_enddef: Option<unsafe extern "C" fn(c_int, usize, usize, usize, usize) -> c_int>§sync: Option<unsafe extern "C" fn(c_int) -> c_int>§abort: Option<unsafe extern "C" fn(c_int) -> c_int>§close: Option<unsafe extern "C" fn(c_int, *mut c_void) -> c_int>§set_fill: Option<unsafe extern "C" fn(c_int, c_int, *mut c_int) -> c_int>§inq_format: Option<unsafe extern "C" fn(c_int, *mut c_int) -> c_int>§inq_format_extended: Option<unsafe extern "C" fn(c_int, *mut c_int, *mut c_int) -> c_int>§inq: Option<unsafe extern "C" fn(c_int, *mut c_int, *mut c_int, *mut c_int, *mut c_int) -> c_int>§inq_type: Option<unsafe extern "C" fn(c_int, nc_type, *mut c_char, *mut usize) -> c_int>§def_dim: Option<unsafe extern "C" fn(c_int, *const c_char, usize, *mut c_int) -> c_int>§inq_dimid: Option<unsafe extern "C" fn(c_int, *const c_char, *mut c_int) -> c_int>§inq_dim: Option<unsafe extern "C" fn(c_int, c_int, *mut c_char, *mut usize) -> c_int>§inq_unlimdim: Option<unsafe extern "C" fn(ncid: c_int, unlimdimidp: *mut c_int) -> c_int>§rename_dim: Option<unsafe extern "C" fn(c_int, c_int, *const c_char) -> c_int>§inq_att: Option<unsafe extern "C" fn(c_int, c_int, *const c_char, *mut nc_type, *mut usize) -> c_int>§inq_attid: Option<unsafe extern "C" fn(c_int, c_int, *const c_char, *mut c_int) -> c_int>§inq_attname: Option<unsafe extern "C" fn(c_int, c_int, c_int, *mut c_char) -> c_int>§rename_att: Option<unsafe extern "C" fn(c_int, c_int, *const c_char, *const c_char) -> c_int>§del_att: Option<unsafe extern "C" fn(c_int, c_int, *const c_char) -> c_int>§get_att: Option<unsafe extern "C" fn(c_int, c_int, *const c_char, *mut c_void, nc_type) -> c_int>§put_att: Option<unsafe extern "C" fn(c_int, c_int, *const c_char, nc_type, usize, *const c_void, nc_type) -> c_int>§def_var: Option<unsafe extern "C" fn(c_int, *const c_char, nc_type, c_int, *const c_int, *mut c_int) -> c_int>§inq_varid: Option<unsafe extern "C" fn(c_int, *const c_char, *mut c_int) -> c_int>§rename_var: Option<unsafe extern "C" fn(c_int, c_int, *const c_char) -> c_int>§get_vara: Option<unsafe extern "C" fn(c_int, c_int, *const usize, *const usize, *mut c_void, nc_type) -> c_int>§put_vara: Option<unsafe extern "C" fn(c_int, c_int, *const usize, *const usize, *const c_void, nc_type) -> c_int>§get_vars: Option<unsafe extern "C" fn(c_int, c_int, *const usize, *const usize, *const isize, *mut c_void, nc_type) -> c_int>§put_vars: Option<unsafe extern "C" fn(c_int, c_int, *const usize, *const usize, *const isize, *const c_void, nc_type) -> c_int>§get_varm: Option<unsafe extern "C" fn(c_int, c_int, *const usize, *const usize, *const isize, *const isize, *mut c_void, nc_type) -> c_int>§put_varm: Option<unsafe extern "C" fn(c_int, c_int, *const usize, *const usize, *const isize, *const isize, *const c_void, nc_type) -> c_int>§inq_var_all: Option<unsafe extern "C" fn(ncid: c_int, varid: c_int, name: *mut c_char, xtypep: *mut nc_type, ndimsp: *mut c_int, dimidsp: *mut c_int, nattsp: *mut c_int, shufflep: *mut c_int, deflatep: *mut c_int, deflate_levelp: *mut c_int, fletcher32p: *mut c_int, contiguousp: *mut c_int, chunksizesp: *mut usize, no_fill: *mut c_int, fill_valuep: *mut c_void, endiannessp: *mut c_int, idp: *mut c_uint, nparamsp: *mut usize, params: *mut c_uint) -> c_int>§var_par_access: Option<unsafe extern "C" fn(c_int, c_int, c_int) -> c_int>§def_var_fill: Option<unsafe extern "C" fn(c_int, c_int, c_int, *const c_void) -> c_int>§show_metadata: Option<unsafe extern "C" fn(c_int) -> c_int>§inq_unlimdims: Option<unsafe extern "C" fn(c_int, *mut c_int, *mut c_int) -> c_int>§inq_ncid: Option<unsafe extern "C" fn(c_int, *const c_char, *mut c_int) -> c_int>§inq_grps: Option<unsafe extern "C" fn(c_int, *mut c_int, *mut c_int) -> c_int>§inq_grpname: Option<unsafe extern "C" fn(c_int, *mut c_char) -> c_int>§inq_grpname_full: Option<unsafe extern "C" fn(c_int, *mut usize, *mut c_char) -> c_int>§inq_grp_parent: Option<unsafe extern "C" fn(c_int, *mut c_int) -> c_int>§inq_grp_full_ncid: Option<unsafe extern "C" fn(c_int, *const c_char, *mut c_int) -> c_int>§inq_varids: Option<unsafe extern "C" fn(_: c_int, nvars: *mut c_int, _: *mut c_int) -> c_int>§inq_dimids: Option<unsafe extern "C" fn(_: c_int, ndims: *mut c_int, _: *mut c_int, _: c_int) -> c_int>§inq_typeids: Option<unsafe extern "C" fn(_: c_int, ntypes: *mut c_int, _: *mut c_int) -> c_int>§inq_type_equal: Option<unsafe extern "C" fn(c_int, nc_type, c_int, nc_type, *mut c_int) -> c_int>§def_grp: Option<unsafe extern "C" fn(c_int, *const c_char, *mut c_int) -> c_int>§rename_grp: Option<unsafe extern "C" fn(c_int, *const c_char) -> c_int>§inq_user_type: Option<unsafe extern "C" fn(c_int, nc_type, *mut c_char, *mut usize, *mut nc_type, *mut usize, *mut c_int) -> c_int>§inq_typeid: Option<unsafe extern "C" fn(c_int, *const c_char, *mut nc_type) -> c_int>§def_compound: Option<unsafe extern "C" fn(c_int, usize, *const c_char, *mut nc_type) -> c_int>§insert_compound: Option<unsafe extern "C" fn(c_int, nc_type, *const c_char, usize, nc_type) -> c_int>§insert_array_compound: Option<unsafe extern "C" fn(c_int, nc_type, *const c_char, usize, nc_type, c_int, *const c_int) -> c_int>§inq_compound_field: Option<unsafe extern "C" fn(c_int, nc_type, c_int, *mut c_char, *mut usize, *mut nc_type, *mut c_int, *mut c_int) -> c_int>§inq_compound_fieldindex: Option<unsafe extern "C" fn(c_int, nc_type, *const c_char, *mut c_int) -> c_int>§def_vlen: Option<unsafe extern "C" fn(_: c_int, _: *const c_char, base_typeid: nc_type, _: *mut nc_type) -> c_int>§put_vlen_element: Option<unsafe extern "C" fn(c_int, c_int, *mut c_void, usize, *const c_void) -> c_int>§get_vlen_element: Option<unsafe extern "C" fn(c_int, c_int, *const c_void, *mut usize, *mut c_void) -> c_int>§def_enum: Option<unsafe extern "C" fn(c_int, nc_type, *const c_char, *mut nc_type) -> c_int>§insert_enum: Option<unsafe extern "C" fn(c_int, nc_type, *const c_char, *const c_void) -> c_int>§inq_enum_member: Option<unsafe extern "C" fn(c_int, nc_type, c_int, *mut c_char, *mut c_void) -> c_int>§inq_enum_ident: Option<unsafe extern "C" fn(c_int, nc_type, c_longlong, *mut c_char) -> c_int>§def_opaque: Option<unsafe extern "C" fn(c_int, usize, *const c_char, *mut nc_type) -> c_int>§def_var_deflate: Option<unsafe extern "C" fn(c_int, c_int, c_int, c_int, c_int) -> c_int>§def_var_fletcher32: Option<unsafe extern "C" fn(c_int, c_int, c_int) -> c_int>§def_var_chunking: Option<unsafe extern "C" fn(c_int, c_int, c_int, *const usize) -> c_int>§def_var_endian: Option<unsafe extern "C" fn(c_int, c_int, c_int) -> c_int>§def_var_filter: Option<unsafe extern "C" fn(c_int, c_int, c_uint, usize, *const c_uint) -> c_int>§set_var_chunk_cache: Option<unsafe extern "C" fn(c_int, c_int, usize, usize, f32) -> c_int>§get_var_chunk_cache: Option<unsafe extern "C" fn(ncid: c_int, varid: c_int, sizep: *mut usize, nelemsp: *mut usize, preemptionp: *mut f32) -> c_int>§inq_var_filter_ids: Option<unsafe extern "C" fn(ncid: c_int, varid: c_int, nfilters: *mut usize, filterids: *mut c_uint) -> c_int>§inq_var_filter_info: Option<unsafe extern "C" fn(ncid: c_int, varid: c_int, id: c_uint, nparams: *mut usize, params: *mut c_uint) -> c_int>§def_var_quantize: Option<unsafe extern "C" fn(ncid: c_int, varid: c_int, quantize_mode: c_int, nsd: c_int) -> c_int>§inq_var_quantize: Option<unsafe extern "C" fn(ncid: c_int, varid: c_int, quantize_modep: *mut c_int, nsdp: *mut c_int) -> c_int>§inq_filter_avail: Option<unsafe extern "C" fn(ncid: c_int, id: c_uint) -> c_int>Trait Implementations§
Source§impl Clone for NC_Dispatch
impl Clone for NC_Dispatch
Source§fn clone(&self) -> NC_Dispatch
fn clone(&self) -> NC_Dispatch
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 moreimpl Copy for NC_Dispatch
Auto Trait Implementations§
impl Freeze for NC_Dispatch
impl RefUnwindSafe for NC_Dispatch
impl Send for NC_Dispatch
impl Sync for NC_Dispatch
impl Unpin for NC_Dispatch
impl UnwindSafe for NC_Dispatch
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