#[repr(C)]pub struct ffi_cif {
pub abi: ffi_abi,
pub nargs: c_uint,
pub arg_types: *mut *mut ffi_type,
pub rtype: *mut ffi_type,
pub bytes: c_uint,
pub flags: c_uint,
}Expand description
A struct used by libffi to describe a function’s ABI and type signature.
It is recommended to not fill out the fields in a ffi_cif manually, but
rather supply the correct arguments to ffi_prep_cif.
Fields§
§abi: ffi_abi§nargs: c_uint§arg_types: *mut *mut ffi_type§rtype: *mut ffi_type§bytes: c_uint§flags: c_uintTrait Implementations§
impl Copy for ffi_cif
Auto Trait Implementations§
impl Freeze for ffi_cif
impl RefUnwindSafe for ffi_cif
impl !Send for ffi_cif
impl !Sync for ffi_cif
impl Unpin for ffi_cif
impl UnwindSafe for ffi_cif
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