#[repr(C)]
pub struct rb_thread_struct {
Show 35 fields pub vmlt_node: list_node, pub self_: VALUE, pub vm: *mut rb_vm_t, pub ec: *mut rb_execution_context_t, pub last_status: VALUE, pub calling: *mut rb_calling_info, pub top_self: VALUE, pub top_wrapper: 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 pending_interrupt_queue: VALUE, pub pending_interrupt_mask_stack: VALUE, pub pending_interrupt_queue_checked: c_int, pub interrupt_lock: rb_nativethread_lock_t, pub unblock: rb_unblock_callback, pub locking_mutex: VALUE, pub keeping_mutexes: *mut rb_mutex_struct, 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 stat_insn_usage: VALUE, pub root_fiber: *mut rb_fiber_t, pub root_jmpbuf: rb_jmpbuf_t, pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>, pub altstack: *mut c_void, pub running_time_us: u32, pub name: VALUE,
}

Fields

vmlt_node: list_nodeself_: VALUEvm: *mut rb_vm_tec: *mut rb_execution_context_tlast_status: VALUEcalling: *mut rb_calling_infotop_self: VALUEtop_wrapper: VALUEthread_id: rb_nativethread_id_tstatus: rb_thread_statusto_kill: c_intpriority: c_intnative_thread_data: native_thread_data_tblocking_region_buffer: *mut c_voidthgroup: VALUEvalue: VALUEpending_interrupt_queue: VALUEpending_interrupt_mask_stack: VALUEpending_interrupt_queue_checked: c_intinterrupt_lock: rb_nativethread_lock_tunblock: rb_unblock_callbacklocking_mutex: VALUEkeeping_mutexes: *mut rb_mutex_structjoin_list: *mut rb_thread_list_tfirst_proc: VALUEfirst_args: VALUEfirst_func: Option<unsafe extern "C" fn() -> VALUE>stat_insn_usage: VALUEroot_fiber: *mut rb_fiber_troot_jmpbuf: rb_jmpbuf_t_bitfield_align_1: [u8; 0]_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>altstack: *mut c_voidrunning_time_us: u32name: 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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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.