#[repr(C)]
pub struct rb_vm_struct {
Show 43 fields pub self_: VALUE, pub ractor: rb_vm_struct__bindgen_ty_1, pub main_altstack: *mut c_void, pub fork_gen: rb_serial_t, pub waitpid_lock: rb_nativethread_lock_t, pub waiting_pids: list_head, pub waiting_grps: list_head, pub waiting_fds: list_head, pub ubf_async_safe: c_int, pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>, pub mark_object_ary: VALUE, pub special_exceptions: [VALUE; 5], pub top_self: VALUE, pub load_path: VALUE, pub load_path_snapshot: VALUE, pub load_path_check_cache: VALUE, pub expanded_load_path: VALUE, pub loaded_features: VALUE, pub loaded_features_snapshot: VALUE, pub loaded_features_index: *mut st_table, pub loading_table: *mut st_table, pub trap_list: rb_vm_struct__bindgen_ty_2, pub ensure_rollback_table: *mut st_table, pub postponed_job_buffer: *mut rb_postponed_job_struct, pub postponed_job_index: rb_atomic_t, pub src_encoding_index: c_int, pub workqueue: list_head, pub workqueue_lock: rb_nativethread_lock_t, pub orig_progname: VALUE, pub progname: VALUE, pub coverages: VALUE, pub coverage_mode: c_int, pub defined_module_hash: *mut st_table, pub objspace: *mut rb_objspace, pub at_exit: *mut rb_at_exit_list, pub defined_strings: *mut VALUE, pub frozen_strings: *mut st_table, pub builtin_function_table: *const rb_builtin_function, pub builtin_inline_index: c_int, pub negative_cme_table: *mut rb_id_table, pub default_params: rb_vm_struct__bindgen_ty_3, pub redefined_flag: [c_short; 29],
}

Fields§

§self_: VALUE§ractor: rb_vm_struct__bindgen_ty_1§main_altstack: *mut c_void§fork_gen: rb_serial_t§waitpid_lock: rb_nativethread_lock_t§waiting_pids: list_head§waiting_grps: list_head§waiting_fds: list_head§ubf_async_safe: c_int§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§mark_object_ary: VALUE§special_exceptions: [VALUE; 5]§top_self: VALUE§load_path: VALUE§load_path_snapshot: VALUE§load_path_check_cache: VALUE§expanded_load_path: VALUE§loaded_features: VALUE§loaded_features_snapshot: VALUE§loaded_features_index: *mut st_table§loading_table: *mut st_table§trap_list: rb_vm_struct__bindgen_ty_2§ensure_rollback_table: *mut st_table§postponed_job_buffer: *mut rb_postponed_job_struct§postponed_job_index: rb_atomic_t§src_encoding_index: c_int§workqueue: list_head§workqueue_lock: rb_nativethread_lock_t§orig_progname: VALUE§progname: VALUE§coverages: VALUE§coverage_mode: c_int§defined_module_hash: *mut st_table§objspace: *mut rb_objspace§at_exit: *mut rb_at_exit_list§defined_strings: *mut VALUE§frozen_strings: *mut st_table§builtin_function_table: *const rb_builtin_function§builtin_inline_index: c_int§negative_cme_table: *mut rb_id_table§default_params: rb_vm_struct__bindgen_ty_3§redefined_flag: [c_short; 29]

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.