Struct libffi::raw::ffi_java_raw_closure
source · pub struct ffi_java_raw_closure {
pub tramp: [i8; 32],
pub cif: *mut ffi_cif,
pub translate_args: Option<unsafe extern "C" fn(_: *mut ffi_cif, _: *mut c_void, _: *mut *mut c_void, _: *mut c_void)>,
pub this_closure: *mut c_void,
pub fun: Option<unsafe extern "C" fn(_: *mut ffi_cif, _: *mut c_void, _: *mut ffi_raw, _: *mut c_void)>,
pub user_data: *mut c_void,
}
Fields§
§tramp: [i8; 32]
§cif: *mut ffi_cif
§translate_args: Option<unsafe extern "C" fn(_: *mut ffi_cif, _: *mut c_void, _: *mut *mut c_void, _: *mut c_void)>
§this_closure: *mut c_void
§fun: Option<unsafe extern "C" fn(_: *mut ffi_cif, _: *mut c_void, _: *mut ffi_raw, _: *mut c_void)>
§user_data: *mut c_void
Trait Implementations§
source§impl Clone for ffi_java_raw_closure
impl Clone for ffi_java_raw_closure
source§fn clone(&self) -> ffi_java_raw_closure
fn clone(&self) -> ffi_java_raw_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_java_raw_closure
impl Debug for ffi_java_raw_closure
Implements Debug manually since sometimes FFI_TRAMPOLINE_SIZE is too large
source§impl Default for ffi_java_raw_closure
impl Default for ffi_java_raw_closure
source§fn default() -> ffi_java_raw_closure
fn default() -> ffi_java_raw_closure
Returns the “default value” for a type. Read more