#[repr(C)]
pub struct enif_entry_t {
Show 13 fields pub major: c_int, pub minor: c_int, pub name: *const c_char, pub num_of_funcs: c_int, pub funcs: *const ErlNifFunc, pub load: Option<unsafe extern "C" fn(arg1: *mut ErlNifEnv, priv_data: *mut *mut c_void, load_info: ERL_NIF_TERM) -> c_int>, pub reload: Option<unsafe extern "C" fn(arg1: *mut ErlNifEnv, priv_data: *mut *mut c_void, load_info: ERL_NIF_TERM) -> c_int>, pub upgrade: Option<unsafe extern "C" fn(arg1: *mut ErlNifEnv, priv_data: *mut *mut c_void, old_priv_data: *mut *mut c_void, load_info: ERL_NIF_TERM) -> c_int>, pub unload: Option<unsafe extern "C" fn(arg1: *mut ErlNifEnv, priv_data: *mut c_void)>, pub vm_variant: *const c_char, pub options: c_uint, pub sizeof_ErlNifResourceTypeInit: usize, pub min_erts: *const c_char,
}

Fields

major: c_intminor: c_intname: *const c_charnum_of_funcs: c_intfuncs: *const ErlNifFuncload: Option<unsafe extern "C" fn(arg1: *mut ErlNifEnv, priv_data: *mut *mut c_void, load_info: ERL_NIF_TERM) -> c_int>reload: Option<unsafe extern "C" fn(arg1: *mut ErlNifEnv, priv_data: *mut *mut c_void, load_info: ERL_NIF_TERM) -> c_int>upgrade: Option<unsafe extern "C" fn(arg1: *mut ErlNifEnv, priv_data: *mut *mut c_void, old_priv_data: *mut *mut c_void, load_info: ERL_NIF_TERM) -> c_int>unload: Option<unsafe extern "C" fn(arg1: *mut ErlNifEnv, priv_data: *mut c_void)>vm_variant: *const c_charoptions: c_uintsizeof_ErlNifResourceTypeInit: usizemin_erts: *const c_char

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.