Struct libffi_sys::ffi_go_closure
source · #[repr(C)]pub struct ffi_go_closure {
pub tramp: *mut c_void,
pub cif: *mut ffi_cif,
pub fun: Option<unsafe extern "C" fn(arg1: *mut ffi_cif, arg2: *mut c_void, arg3: *mut *mut c_void, arg4: *mut c_void)>,
}
Fields§
§tramp: *mut c_void
§cif: *mut ffi_cif
§fun: Option<unsafe extern "C" fn(arg1: *mut ffi_cif, arg2: *mut c_void, arg3: *mut *mut c_void, arg4: *mut c_void)>
Trait Implementations§
source§impl Clone for ffi_go_closure
impl Clone for ffi_go_closure
source§fn clone(&self) -> ffi_go_closure
fn clone(&self) -> ffi_go_closure
Returns a copy 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 more