#[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 safe_level: c_int,
pub raised_flag: c_int,
pub interrupt_flag: rb_atomic_t,
pub interrupt_mask: c_ulong,
pub fiber_ptr: *mut rb_fiber_t,
pub thread_ptr: *mut rb_thread_struct,
pub local_storage: *mut st_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 passed_bmethod_me: *const rb_callable_method_entry_t,
pub method_missing_reason: method_missing_reason,
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
safe_level: c_int
raised_flag: c_int
interrupt_flag: rb_atomic_t
interrupt_mask: c_ulong
fiber_ptr: *mut rb_fiber_t
thread_ptr: *mut rb_thread_struct
local_storage: *mut st_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
passed_bmethod_me: *const rb_callable_method_entry_t
method_missing_reason: method_missing_reason
machine: rb_execution_context_struct__bindgen_ty_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