Struct libffi::low::ffi_closure
[−]
#[repr(C)]pub struct ffi_closure { pub tramp: [i8; 24], pub cif: *mut ffi_cif, pub fun: Option<unsafe extern fn(*mut ffi_cif, *mut c_void, *mut *mut c_void, *mut c_void)>, pub user_data: *mut c_void, }
Fields
tramp: [i8; 24]
cif: *mut ffi_cif
fun: Option<unsafe extern fn(*mut ffi_cif, *mut c_void, *mut *mut c_void, *mut c_void)>
user_data: *mut c_void
Trait Implementations
impl Default for ffi_closure
fn default() -> ffi_closure
Returns the "default value" for a type. Read more
impl Copy for ffi_closure
impl Clone for ffi_closure
fn clone(&self) -> ffi_closure
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more