Struct rbspy_ruby_structs::ruby_2_2_2::rb_vm_struct  
source · #[repr(C)]pub struct rb_vm_struct {Show 42 fields
    pub self_: VALUE,
    pub gvl: rb_global_vm_lock_t,
    pub thread_destruct_lock: rb_nativethread_lock_t,
    pub main_thread: *mut rb_thread_struct,
    pub running_thread: *mut rb_thread_struct,
    pub living_threads: list_head,
    pub living_thread_num: usize,
    pub thgroup_default: VALUE,
    pub running: c_int,
    pub thread_abort_on_exception: c_int,
    pub trace_running: c_int,
    pub sleeper: c_int,
    pub mark_object_ary: VALUE,
    pub special_exceptions: [VALUE; 4],
    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_1; 65],
    pub event_hooks: rb_hook_list_t,
    pub ensure_rollback_table: *mut st_table,
    pub postponed_job_buffer: *mut rb_postponed_job_struct,
    pub postponed_job_index: c_int,
    pub src_encoding_index: c_int,
    pub verbose: VALUE,
    pub debug: VALUE,
    pub orig_progname: VALUE,
    pub progname: VALUE,
    pub coverages: VALUE,
    pub unlinked_method_entry_list: *mut unlinked_method_entry_list_entry,
    pub defined_module_hash: VALUE,
    pub objspace: *mut rb_objspace,
    pub at_exit: RArray,
    pub defined_strings: *mut VALUE,
    pub frozen_strings: *mut st_table,
    pub default_params: rb_vm_struct__bindgen_ty_2,
    pub redefined_flag: [c_short; 22],
}Fields§
§self_: VALUE§gvl: rb_global_vm_lock_t§thread_destruct_lock: rb_nativethread_lock_t§main_thread: *mut rb_thread_struct§running_thread: *mut rb_thread_struct§living_threads: list_head§living_thread_num: usize§thgroup_default: VALUE§running: c_int§thread_abort_on_exception: c_int§trace_running: c_int§sleeper: c_int§mark_object_ary: VALUE§special_exceptions: [VALUE; 4]§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_1; 65]§event_hooks: rb_hook_list_t§ensure_rollback_table: *mut st_table§postponed_job_buffer: *mut rb_postponed_job_struct§postponed_job_index: c_int§src_encoding_index: c_int§verbose: VALUE§debug: VALUE§orig_progname: VALUE§progname: VALUE§coverages: VALUE§unlinked_method_entry_list: *mut unlinked_method_entry_list_entry§defined_module_hash: VALUE§objspace: *mut rb_objspace§at_exit: RArray§defined_strings: *mut VALUE§frozen_strings: *mut st_table§default_params: rb_vm_struct__bindgen_ty_2§redefined_flag: [c_short; 22]Trait Implementations§
source§impl Clone for rb_vm_struct
 
impl Clone for rb_vm_struct
source§fn clone(&self) -> rb_vm_struct
 
fn clone(&self) -> rb_vm_struct
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for rb_vm_struct
 
impl Debug for rb_vm_struct
impl Copy for rb_vm_struct
Auto Trait Implementations§
impl Freeze for rb_vm_struct
impl RefUnwindSafe for rb_vm_struct
impl !Send for rb_vm_struct
impl !Sync for rb_vm_struct
impl Unpin for rb_vm_struct
impl UnwindSafe for rb_vm_struct
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
 
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
    T: Copy,
 
impl<T> CloneToUninit for Twhere
    T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)