Struct rbspy_ruby_structs::ruby_1_9_1_0::rb_thread_struct
source · [−]#[repr(C)]pub struct rb_thread_struct {Show 56 fields
pub self_: VALUE,
pub vm: *mut rb_vm_t,
pub stack: *mut VALUE,
pub stack_size: c_ulong,
pub cfp: *mut rb_control_frame_t,
pub safe_level: c_int,
pub raised_flag: c_int,
pub last_status: VALUE,
pub state: c_int,
pub passed_block: *mut rb_block_t,
pub top_self: VALUE,
pub top_wrapper: VALUE,
pub base_block: *mut rb_block_t,
pub local_lfp: *mut VALUE,
pub local_svar: VALUE,
pub thread_id: rb_thread_id_t,
pub status: rb_thread_status,
pub priority: c_int,
pub slice: c_int,
pub native_thread_data: native_thread_data_t,
pub blocking_region_buffer: *mut c_void,
pub thgroup: VALUE,
pub value: VALUE,
pub errinfo: VALUE,
pub thrown_errinfo: VALUE,
pub exec_signal: c_int,
pub interrupt_flag: c_int,
pub interrupt_lock: rb_thread_lock_t,
pub unblock: rb_unblock_callback,
pub locking_mutex: VALUE,
pub keeping_mutexes: *mut rb_mutex_struct,
pub transition_for_lock: c_int,
pub tag: *mut rb_vm_tag,
pub trap_tag: *mut rb_vm_trap_tag,
pub parse_in_eval: c_int,
pub mild_compile_error: c_int,
pub local_storage: *mut st_table,
pub join_list_next: *mut rb_thread_struct,
pub join_list_head: *mut rb_thread_struct,
pub first_proc: VALUE,
pub first_args: VALUE,
pub first_func: Option<unsafe extern "C" fn() -> VALUE>,
pub machine_stack_start: *mut VALUE,
pub machine_stack_end: *mut VALUE,
pub machine_stack_maxsize: usize,
pub machine_regs: jmp_buf,
pub mark_stack_len: c_int,
pub stat_insn_usage: VALUE,
pub event_hooks: *mut rb_event_hook_t,
pub event_flags: rb_event_flag_t,
pub tracing: c_int,
pub fiber: VALUE,
pub root_fiber: VALUE,
pub root_jmpbuf: rb_jmpbuf_t,
pub method_missing_reason: c_int,
pub abort_on_exception: c_int,
}
Fields
self_: VALUE
vm: *mut rb_vm_t
stack: *mut VALUE
stack_size: c_ulong
cfp: *mut rb_control_frame_t
safe_level: c_int
raised_flag: c_int
last_status: VALUE
state: c_int
passed_block: *mut rb_block_t
top_self: VALUE
top_wrapper: VALUE
base_block: *mut rb_block_t
local_lfp: *mut VALUE
local_svar: VALUE
thread_id: rb_thread_id_t
status: rb_thread_status
priority: c_int
slice: c_int
native_thread_data: native_thread_data_t
blocking_region_buffer: *mut c_void
thgroup: VALUE
value: VALUE
errinfo: VALUE
thrown_errinfo: VALUE
exec_signal: c_int
interrupt_flag: c_int
interrupt_lock: rb_thread_lock_t
unblock: rb_unblock_callback
locking_mutex: VALUE
keeping_mutexes: *mut rb_mutex_struct
transition_for_lock: c_int
tag: *mut rb_vm_tag
trap_tag: *mut rb_vm_trap_tag
parse_in_eval: c_int
mild_compile_error: c_int
local_storage: *mut st_table
join_list_next: *mut rb_thread_struct
join_list_head: *mut rb_thread_struct
first_proc: VALUE
first_args: VALUE
first_func: Option<unsafe extern "C" fn() -> VALUE>
machine_stack_start: *mut VALUE
machine_stack_end: *mut VALUE
machine_stack_maxsize: usize
machine_regs: jmp_buf
mark_stack_len: c_int
stat_insn_usage: VALUE
event_hooks: *mut rb_event_hook_t
event_flags: rb_event_flag_t
tracing: c_int
fiber: VALUE
root_fiber: VALUE
root_jmpbuf: rb_jmpbuf_t
method_missing_reason: c_int
abort_on_exception: c_int
Trait Implementations
sourceimpl Clone for rb_thread_struct
impl Clone for rb_thread_struct
sourcefn clone(&self) -> rb_thread_struct
fn clone(&self) -> rb_thread_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_thread_struct
impl Debug for rb_thread_struct
impl Copy for rb_thread_struct
Auto Trait Implementations
impl RefUnwindSafe for rb_thread_struct
impl !Send for rb_thread_struct
impl !Sync for rb_thread_struct
impl Unpin for rb_thread_struct
impl UnwindSafe for rb_thread_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