Struct libffi_sys::ffi_java_raw_closure
source · #[repr(C)]pub struct ffi_java_raw_closure {
pub tramp: [c_char; 12],
pub cif: *mut ffi_cif,
pub translate_args: Option<unsafe extern "C" fn(arg1: *mut ffi_cif, arg2: *mut c_void, arg3: *mut *mut c_void, arg4: *mut c_void)>,
pub this_closure: *mut c_void,
pub fun: Option<unsafe extern "C" fn(arg1: *mut ffi_cif, arg2: *mut c_void, arg3: *mut ffi_java_raw, arg4: *mut c_void)>,
pub user_data: *mut c_void,
}
Fields§
§tramp: [c_char; 12]
§cif: *mut ffi_cif
§translate_args: Option<unsafe extern "C" fn(arg1: *mut ffi_cif, arg2: *mut c_void, arg3: *mut *mut c_void, arg4: *mut c_void)>
§this_closure: *mut c_void
§fun: Option<unsafe extern "C" fn(arg1: *mut ffi_cif, arg2: *mut c_void, arg3: *mut ffi_java_raw, arg4: *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
impl Copy for ffi_java_raw_closure
Auto Trait Implementations§
impl RefUnwindSafe for ffi_java_raw_closure
impl !Send for ffi_java_raw_closure
impl !Sync for ffi_java_raw_closure
impl Unpin for ffi_java_raw_closure
impl UnwindSafe for ffi_java_raw_closure
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more