Struct libffi::raw::ffi_go_closure
source · pub struct ffi_go_closure {
pub tramp: *mut c_void,
pub cif: *mut ffi_cif,
pub fun: Option<unsafe extern "C" fn(_: *mut ffi_cif, _: *mut c_void, _: *mut *mut c_void, _: *mut c_void)>,
}
Fields§
§tramp: *mut c_void
§cif: *mut ffi_cif
§fun: Option<unsafe extern "C" fn(_: *mut ffi_cif, _: *mut c_void, _: *mut *mut c_void, _: *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 moresource§impl Debug for ffi_go_closure
impl Debug for ffi_go_closure
source§impl Default for ffi_go_closure
impl Default for ffi_go_closure
source§fn default() -> ffi_go_closure
fn default() -> ffi_go_closure
Returns the “default value” for a type. Read more