#[repr(C)]
pub struct rb_vm_struct {
Show 27 fields pub self_: VALUE, pub gvl: rb_global_vm_lock_t, pub main_thread: *mut rb_thread_struct, pub running_thread: *mut rb_thread_struct, pub living_threads: *mut st_table, pub thgroup_default: VALUE, pub running: c_int, pub inhibit_thread_creation: c_int, pub thread_abort_on_exception: c_int, pub trace_flag: c_ulong, pub sleeper: c_int, pub mark_object_ary: VALUE, pub special_exceptions: [VALUE; 4], pub top_self: VALUE, pub load_path: VALUE, pub loaded_features: VALUE, pub loading_table: *mut st_table, pub trap_list: [rb_vm_struct__bindgen_ty_1; 65], pub event_hooks: *mut rb_event_hook_t, pub src_encoding_index: c_int, pub verbose: VALUE, pub debug: VALUE, pub progname: VALUE, pub coverages: VALUE, pub unlinked_method_entry_list: *mut unlinked_method_entry_list_entry, pub objspace: *mut rb_objspace, pub at_exit: RArray,
}

Fields

self_: VALUEgvl: rb_global_vm_lock_tmain_thread: *mut rb_thread_structrunning_thread: *mut rb_thread_structliving_threads: *mut st_tablethgroup_default: VALUErunning: c_intinhibit_thread_creation: c_intthread_abort_on_exception: c_inttrace_flag: c_ulongsleeper: c_intmark_object_ary: VALUEspecial_exceptions: [VALUE; 4]top_self: VALUEload_path: VALUEloaded_features: VALUEloading_table: *mut st_tabletrap_list: [rb_vm_struct__bindgen_ty_1; 65]event_hooks: *mut rb_event_hook_tsrc_encoding_index: c_intverbose: VALUEdebug: VALUEprogname: VALUEcoverages: VALUEunlinked_method_entry_list: *mut unlinked_method_entry_list_entryobjspace: *mut rb_objspaceat_exit: RArray

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.