Struct libffi_sys::ffi_closure [] [src]

#[repr(C)]
pub struct ffi_closure { pub tramp: [c_char; 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

Trait Implementations

impl Debug for ffi_closure
[src]

Formats the value using the given formatter.

impl Copy for ffi_closure
[src]

impl Clone for ffi_closure
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for ffi_closure
[src]

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