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