Struct libffi::low::ffi_closure
[−]
[src]
#[repr(C)]pub struct ffi_closure { pub tramp: [i8; 24], 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)>, pub user_data: *mut c_void, }
Fields
tramp: [i8; 24]
cif: *mut ffi_cif
fun: Option<unsafe extern "C" 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
[src]
fn default() -> ffi_closure
[src]
Returns the "default value" for a type. Read more
impl Debug for ffi_closure
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl Copy for ffi_closure
[src]
impl Clone for ffi_closure
[src]
fn clone(&self) -> ffi_closure
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more