#[repr(C)]pub struct rb_execution_context_struct {Show 23 fields
pub vm_stack: *mut VALUE,
pub vm_stack_size: size_t,
pub cfp: *mut rb_control_frame_t,
pub tag: *mut rb_vm_tag,
pub protect_tag: *mut rb_vm_protect_tag,
pub interrupt_flag: rb_atomic_t,
pub interrupt_mask: rb_atomic_t,
pub fiber_ptr: *mut rb_fiber_t,
pub thread_ptr: *mut rb_thread_struct,
pub local_storage: *mut rb_id_table,
pub local_storage_recursive_hash: VALUE,
pub local_storage_recursive_hash_for_trace: VALUE,
pub root_lep: *const VALUE,
pub root_svar: VALUE,
pub ensure_list: *mut rb_ensure_list_t,
pub trace_arg: *mut rb_trace_arg_struct,
pub errinfo: VALUE,
pub passed_block_handler: VALUE,
pub raised_flag: u8,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub private_const_reference: VALUE,
pub machine: rb_execution_context_struct__bindgen_ty_1,
}
Fields
vm_stack: *mut VALUE
vm_stack_size: size_t
cfp: *mut rb_control_frame_t
tag: *mut rb_vm_tag
protect_tag: *mut rb_vm_protect_tag
interrupt_flag: rb_atomic_t
interrupt_mask: rb_atomic_t
fiber_ptr: *mut rb_fiber_t
thread_ptr: *mut rb_thread_struct
local_storage: *mut rb_id_table
local_storage_recursive_hash: VALUE
local_storage_recursive_hash_for_trace: VALUE
root_lep: *const VALUE
root_svar: VALUE
ensure_list: *mut rb_ensure_list_t
trace_arg: *mut rb_trace_arg_struct
errinfo: VALUE
passed_block_handler: VALUE
raised_flag: u8
_bitfield_align_1: [u8; 0]
_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
private_const_reference: VALUE
machine: rb_execution_context_struct__bindgen_ty_1
Implementations
sourceimpl rb_execution_context_struct
impl rb_execution_context_struct
pub fn method_missing_reason(&self) -> method_missing_reason
pub fn set_method_missing_reason(&mut self, val: method_missing_reason)
pub fn new_bitfield_1(
method_missing_reason: method_missing_reason
) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations
sourceimpl Clone for rb_execution_context_struct
impl Clone for rb_execution_context_struct
sourcefn clone(&self) -> rb_execution_context_struct
fn clone(&self) -> rb_execution_context_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 more
sourceimpl Debug for rb_execution_context_struct
impl Debug for rb_execution_context_struct
impl Copy for rb_execution_context_struct
Auto Trait Implementations
impl RefUnwindSafe for rb_execution_context_struct
impl !Send for rb_execution_context_struct
impl !Sync for rb_execution_context_struct
impl Unpin for rb_execution_context_struct
impl UnwindSafe for rb_execution_context_struct
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more