Struct rbspy_ruby_structs::ruby_2_7_4::rb_call_cache
source · #[repr(C)]pub struct rb_call_cache {
pub method_state: rb_serial_t,
pub class_serial: [rb_serial_t; 3],
pub me: *const rb_callable_method_entry_struct,
pub method_serial: usize,
pub call: Option<unsafe extern "C" fn(ec: *mut rb_execution_context_struct, cfp: *mut rb_control_frame_struct, calling: *mut rb_calling_info, cd: *mut rb_call_data) -> VALUE>,
pub aux: rb_call_cache__bindgen_ty_1,
}
Fields§
§method_state: rb_serial_t
§class_serial: [rb_serial_t; 3]
§me: *const rb_callable_method_entry_struct
§method_serial: usize
§call: Option<unsafe extern "C" fn(ec: *mut rb_execution_context_struct, cfp: *mut rb_control_frame_struct, calling: *mut rb_calling_info, cd: *mut rb_call_data) -> VALUE>
§aux: rb_call_cache__bindgen_ty_1
Trait Implementations§
source§impl Clone for rb_call_cache
impl Clone for rb_call_cache
source§fn clone(&self) -> rb_call_cache
fn clone(&self) -> rb_call_cache
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