#[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 duplicate 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_call_cache
impl Debug for rb_call_cache
impl Copy for rb_call_cache
Auto Trait Implementations§
impl Freeze for rb_call_cache
impl RefUnwindSafe for rb_call_cache
impl !Send for rb_call_cache
impl !Sync for rb_call_cache
impl Unpin for rb_call_cache
impl UnwindSafe for rb_call_cache
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