#[repr(C)]pub struct rb_vm_struct {Show 23 fields
pub self_: VALUE,
pub global_vm_lock: rb_thread_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 thread_abort_on_exception: c_int,
pub trace_flag: c_ulong,
pub sleeper: c_int,
pub mark_object_ary: VALUE,
pub special_exceptions: [VALUE; 3],
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,
}
Fields§
§self_: VALUE
§global_vm_lock: rb_thread_lock_t
§main_thread: *mut rb_thread_struct
§running_thread: *mut rb_thread_struct
§living_threads: *mut st_table
§thgroup_default: VALUE
§running: c_int
§thread_abort_on_exception: c_int
§trace_flag: c_ulong
§sleeper: c_int
§mark_object_ary: VALUE
§special_exceptions: [VALUE; 3]
§top_self: VALUE
§load_path: VALUE
§loaded_features: VALUE
§loading_table: *mut st_table
§trap_list: [rb_vm_struct__bindgen_ty_1; 65]
§event_hooks: *mut rb_event_hook_t
§src_encoding_index: c_int
§verbose: VALUE
§debug: VALUE
§progname: VALUE
§coverages: VALUE
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 duplicate 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