Struct rb_iseq_constant_body

Source
#[repr(C)]
pub struct rb_iseq_constant_body {
Show 32 fields pub type_: rb_iseq_type, pub iseq_size: c_uint, pub iseq_encoded: *mut VALUE, pub param: rb_iseq_constant_body__bindgen_ty_1, pub location: rb_iseq_location_t, pub insns_info: rb_iseq_constant_body_iseq_insn_info, pub local_table: *const ID, pub catch_table: *mut iseq_catch_table, pub parent_iseq: *const rb_iseq_struct, pub local_iseq: *mut rb_iseq_struct, pub is_entries: *mut iseq_inline_storage_entry, pub call_data: *mut rb_call_data, pub variable: rb_iseq_constant_body__bindgen_ty_2, pub local_table_size: c_uint, pub ic_size: c_uint, pub ise_size: c_uint, pub ivc_size: c_uint, pub icvarc_size: c_uint, pub ci_size: c_uint, pub stack_max: c_uint, pub builtin_attrs: c_uint, pub prism: bool, pub mark_bits: rb_iseq_constant_body__bindgen_ty_3, pub outer_variables: *mut rb_id_table, pub mandatory_only_iseq: *const rb_iseq_t, pub jit_entry: rb_jit_func_t, pub jit_entry_calls: c_ulong, pub jit_exception: rb_jit_func_t, pub jit_exception_calls: c_ulong, pub rjit_blocks: VALUE, pub yjit_payload: *mut c_void, pub yjit_calls_at_interv: u64,
}

Fields§

§type_: rb_iseq_type§iseq_size: c_uint§iseq_encoded: *mut VALUE§param: rb_iseq_constant_body__bindgen_ty_1§location: rb_iseq_location_t§insns_info: rb_iseq_constant_body_iseq_insn_info§local_table: *const ID§catch_table: *mut iseq_catch_table§parent_iseq: *const rb_iseq_struct§local_iseq: *mut rb_iseq_struct§is_entries: *mut iseq_inline_storage_entry§call_data: *mut rb_call_data§variable: rb_iseq_constant_body__bindgen_ty_2§local_table_size: c_uint§ic_size: c_uint§ise_size: c_uint§ivc_size: c_uint§icvarc_size: c_uint§ci_size: c_uint§stack_max: c_uint§builtin_attrs: c_uint§prism: bool§mark_bits: rb_iseq_constant_body__bindgen_ty_3§outer_variables: *mut rb_id_table§mandatory_only_iseq: *const rb_iseq_t§jit_entry: rb_jit_func_t§jit_entry_calls: c_ulong§jit_exception: rb_jit_func_t§jit_exception_calls: c_ulong§rjit_blocks: VALUE§yjit_payload: *mut c_void§yjit_calls_at_interv: u64

Trait Implementations§

Source§

impl Clone for rb_iseq_constant_body

Source§

fn clone(&self) -> rb_iseq_constant_body

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for rb_iseq_constant_body

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for rb_iseq_constant_body

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.