Struct rbspy_ruby_structs::ruby_2_5_8::rb_vm_struct[][src]

#[repr(C)]pub struct rb_vm_struct {
    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 fork_gen: rb_serial_t,
    pub waiting_fds: list_head,
    pub living_threads: list_head,
    pub living_thread_num: size_t,
    pub thgroup_default: VALUE,
    pub _bitfield_align_1: [u8; 0],
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
    pub trace_running: c_int,
    pub sleeper: c_int,
    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_1,
    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 coverage_mode: c_int,
    pub defined_module_hash: VALUE,
    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 default_params: rb_vm_struct__bindgen_ty_2,
    pub redefined_flag: [c_short; 25],
}

Fields

self_: VALUEgvl: rb_global_vm_lock_tthread_destruct_lock: rb_nativethread_lock_tmain_thread: *mut rb_thread_structrunning_thread: *mut rb_thread_structfork_gen: rb_serial_twaiting_fds: list_headliving_threads: list_headliving_thread_num: size_tthgroup_default: VALUE_bitfield_align_1: [u8; 0]_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>trace_running: c_intsleeper: c_intmark_object_ary: VALUEspecial_exceptions: [VALUE; 5]top_self: VALUEload_path: VALUEload_path_snapshot: VALUEload_path_check_cache: VALUEexpanded_load_path: VALUEloaded_features: VALUEloaded_features_snapshot: VALUEloaded_features_index: *mut st_tableloading_table: *mut st_tabletrap_list: rb_vm_struct__bindgen_ty_1event_hooks: rb_hook_list_tensure_rollback_table: *mut st_tablepostponed_job_buffer: *mut rb_postponed_job_structpostponed_job_index: c_intsrc_encoding_index: c_intverbose: VALUEdebug: VALUEorig_progname: VALUEprogname: VALUEcoverages: VALUEcoverage_mode: c_intdefined_module_hash: VALUEobjspace: *mut rb_objspaceat_exit: *mut rb_at_exit_listdefined_strings: *mut VALUEfrozen_strings: *mut st_tabledefault_params: rb_vm_struct__bindgen_ty_2redefined_flag: [c_short; 25]

Implementations

impl rb_vm_struct[src]

pub fn running(&self) -> c_uint[src]

pub fn set_running(&mut self, val: c_uint)[src]

pub fn thread_abort_on_exception(&self) -> c_uint[src]

pub fn set_thread_abort_on_exception(&mut self, val: c_uint)[src]

pub fn thread_report_on_exception(&self) -> c_uint[src]

pub fn set_thread_report_on_exception(&mut self, val: c_uint)[src]

pub fn new_bitfield_1(
    running: c_uint,
    thread_abort_on_exception: c_uint,
    thread_report_on_exception: c_uint
) -> __BindgenBitfieldUnit<[u8; 1]>
[src]

Trait Implementations

impl Clone for rb_vm_struct[src]

impl Copy for rb_vm_struct[src]

impl Debug for rb_vm_struct[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.