#[repr(C)]pub struct ffi_go_closure {
pub tramp: *mut c_void,
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)>,
}Fields§
§tramp: *mut c_void§cif: *mut ffi_cif§fun: Option<unsafe extern "C" fn(*mut ffi_cif, *mut c_void, *mut *mut c_void, *mut c_void)>Trait Implementations§
Source§impl Clone for ffi_go_closure
impl Clone for ffi_go_closure
Source§fn clone(&self) -> ffi_go_closure
fn clone(&self) -> ffi_go_closure
Returns a duplicate 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_go_closure
impl Debug for ffi_go_closure
Source§impl Default for ffi_go_closure
impl Default for ffi_go_closure
Source§fn default() -> ffi_go_closure
fn default() -> ffi_go_closure
Returns the “default value” for a type. Read more
impl Copy for ffi_go_closure
Auto Trait Implementations§
impl Freeze for ffi_go_closure
impl RefUnwindSafe for ffi_go_closure
impl !Send for ffi_go_closure
impl !Sync for ffi_go_closure
impl Unpin for ffi_go_closure
impl UnwindSafe for ffi_go_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