#[repr(C)]
pub struct rb_thread_struct {
Show 59 fields pub vmlt_node: list_node, pub self_: VALUE, pub vm: *mut rb_vm_t, pub stack: *mut VALUE, pub stack_size: usize, 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 waiting_fd: c_int, pub passed_block_handler: VALUE, pub passed_bmethod_me: *const rb_callable_method_entry_t, pub calling: *mut rb_calling_info, pub top_self: VALUE, pub top_wrapper: VALUE, pub root_lep: *const VALUE, pub root_svar: VALUE, pub thread_id: rb_nativethread_id_t, pub status: rb_thread_status, pub to_kill: c_int, pub priority: 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 pending_interrupt_queue: VALUE, pub pending_interrupt_mask_stack: VALUE, pub pending_interrupt_queue_checked: c_int, pub interrupt_flag: rb_atomic_t, pub interrupt_mask: c_ulong, pub interrupt_lock: rb_nativethread_lock_t, pub interrupt_cond: rb_nativethread_cond_t, pub unblock: rb_unblock_callback, pub locking_mutex: VALUE, pub keeping_mutexes: *mut rb_mutex_struct, pub tag: *mut rb_vm_tag, pub protect_tag: *mut rb_vm_protect_tag, pub local_storage: *mut st_table, pub local_storage_recursive_hash: VALUE, pub local_storage_recursive_hash_for_trace: VALUE, pub join_list: *mut rb_thread_list_t, pub first_proc: VALUE, pub first_args: VALUE, pub first_func: Option<unsafe extern "C" fn() -> VALUE>, pub machine: rb_thread_struct__bindgen_ty_1, pub stat_insn_usage: VALUE, pub event_hooks: rb_hook_list_t, pub trace_arg: *mut rb_trace_arg_struct, pub fiber: *mut rb_fiber_t, pub root_fiber: *mut rb_fiber_t, pub root_jmpbuf: rb_jmpbuf_t, pub ensure_list: *mut rb_ensure_list_t, pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>, pub altstack: *mut c_void, pub running_time_us: c_ulong, pub name: VALUE,
}

Fields§

§vmlt_node: list_node§self_: VALUE§vm: *mut rb_vm_t§stack: *mut VALUE§stack_size: usize§cfp: *mut rb_control_frame_t§safe_level: c_int§raised_flag: c_int§last_status: VALUE§state: c_int§waiting_fd: c_int§passed_block_handler: VALUE§passed_bmethod_me: *const rb_callable_method_entry_t§calling: *mut rb_calling_info§top_self: VALUE§top_wrapper: VALUE§root_lep: *const VALUE§root_svar: VALUE§thread_id: rb_nativethread_id_t§status: rb_thread_status§to_kill: c_int§priority: c_int§native_thread_data: native_thread_data_t§blocking_region_buffer: *mut c_void§thgroup: VALUE§value: VALUE§errinfo: VALUE§pending_interrupt_queue: VALUE§pending_interrupt_mask_stack: VALUE§pending_interrupt_queue_checked: c_int§interrupt_flag: rb_atomic_t§interrupt_mask: c_ulong§interrupt_lock: rb_nativethread_lock_t§interrupt_cond: rb_nativethread_cond_t§unblock: rb_unblock_callback§locking_mutex: VALUE§keeping_mutexes: *mut rb_mutex_struct§tag: *mut rb_vm_tag§protect_tag: *mut rb_vm_protect_tag§local_storage: *mut st_table§local_storage_recursive_hash: VALUE§local_storage_recursive_hash_for_trace: VALUE§join_list: *mut rb_thread_list_t§first_proc: VALUE§first_args: VALUE§first_func: Option<unsafe extern "C" fn() -> VALUE>§machine: rb_thread_struct__bindgen_ty_1§stat_insn_usage: VALUE§event_hooks: rb_hook_list_t§trace_arg: *mut rb_trace_arg_struct§fiber: *mut rb_fiber_t§root_fiber: *mut rb_fiber_t§root_jmpbuf: rb_jmpbuf_t§ensure_list: *mut rb_ensure_list_t§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>§altstack: *mut c_void§running_time_us: c_ulong§name: VALUE

Implementations§

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.