#[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§
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 copy 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 more