#[repr(C)]pub struct rb_method_cfunc_struct {
pub func: Option<unsafe extern "C" fn() -> VALUE>,
pub invoker: Option<unsafe extern "C" fn(recv: VALUE, argc: c_int, argv: *const VALUE, func: Option<unsafe extern "C" fn() -> VALUE>) -> VALUE>,
pub argc: c_int,
}
Fields
func: Option<unsafe extern "C" fn() -> VALUE>
invoker: Option<unsafe extern "C" fn(recv: VALUE, argc: c_int, argv: *const VALUE, func: Option<unsafe extern "C" fn() -> VALUE>) -> VALUE>
argc: c_int
Trait Implementations
sourceimpl Clone for rb_method_cfunc_struct
impl Clone for rb_method_cfunc_struct
sourcefn clone(&self) -> rb_method_cfunc_struct
fn clone(&self) -> rb_method_cfunc_struct
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for rb_method_cfunc_struct
impl Debug for rb_method_cfunc_struct
impl Copy for rb_method_cfunc_struct
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more