pub struct Nif {
pub name: *const c_char,
pub arity: c_uint,
pub flags: c_uint,
pub raw_func: unsafe extern "C" fn(nif_env: NIF_ENV, argc: c_int, argv: *const NIF_TERM) -> NIF_TERM,
}Fields§
§name: *const c_char§arity: c_uint§flags: c_uint§raw_func: unsafe extern "C" fn(nif_env: NIF_ENV, argc: c_int, argv: *const NIF_TERM) -> NIF_TERMImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Nif
impl RefUnwindSafe for Nif
impl !Send for Nif
impl Unpin for Nif
impl UnwindSafe for Nif
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