#[repr(C)]pub struct rb_method_cfunc_struct {
pub func: Option<unsafe extern "C" fn() -> VALUE>,
pub invoker: Option<unsafe extern "C" fn(func: Option<unsafe extern "C" fn() -> VALUE>, recv: VALUE, argc: c_int, argv: *const VALUE) -> VALUE>,
pub argc: c_int,
}Fields§
§func: Option<unsafe extern "C" fn() -> VALUE>§invoker: Option<unsafe extern "C" fn(func: Option<unsafe extern "C" fn() -> VALUE>, recv: VALUE, argc: c_int, argv: *const VALUE) -> VALUE>§argc: c_intTrait Implementations§
Source§impl Clone for rb_method_cfunc_struct
impl Clone for rb_method_cfunc_struct
Source§fn clone(&self) -> rb_method_cfunc_struct
fn clone(&self) -> rb_method_cfunc_struct
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for rb_method_cfunc_struct
impl Debug for rb_method_cfunc_struct
impl Copy for rb_method_cfunc_struct
Auto Trait Implementations§
impl Freeze for rb_method_cfunc_struct
impl RefUnwindSafe for rb_method_cfunc_struct
impl Send for rb_method_cfunc_struct
impl Sync for rb_method_cfunc_struct
impl Unpin for rb_method_cfunc_struct
impl UnwindSafe for rb_method_cfunc_struct
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)