[go: up one dir, main page]

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

Trait Implementations

impl Default for ffi_closure
[src]

Returns the "default value" for a type. Read more

impl Copy for ffi_closure
[src]

impl Debug for ffi_closure
[src]

Formats the value using the given formatter.

impl Clone for ffi_closure
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more