Skip to main content

RawProto

Struct RawProto 

Source
#[repr(C)]
pub struct RawProto {
Show 38 fields pub tt: u8, pub marked: u8, pub memcat: u8, pub n_ups: u8, pub num_params: u8, pub is_vararg: u8, pub max_stack_size: u8, pub flags: u8, pub k: *mut RawTValue, pub code: *mut u32, pub p: *mut *mut RawProto, pub code_entry: *const u32, pub exec_data: *mut (), pub exec_target: usize, pub line_info: *mut u8, pub abs_line_info: *mut i32, pub loc_vars: *mut RawLocVar, pub upvalues: *mut *mut RawTString, pub source: *mut RawTString, pub debug_name: *mut RawTString, pub debug_insn: *mut u8, pub type_info: *mut u8, pub userdata: *mut (), pub gc_list: *mut RawGcObject, pub size_code: i32, pub size_p: i32, pub size_loc_vars: i32, pub size_upvalues: i32, pub size_k: i32, pub size_line_info: i32, pub line_gap_log2: i32, pub line_defined: i32, pub bytecode_id: i32, pub size_type_info: i32, pub feedback_vec: *mut FeedbackVectorSlot, pub feedback_vec_size: u32, pub fun_id: u32, pub cost: u64,
}

Fields§

§tt: u8§marked: u8§memcat: u8§n_ups: u8§num_params: u8§is_vararg: u8§max_stack_size: u8§flags: u8§k: *mut RawTValue§code: *mut u32§p: *mut *mut RawProto§code_entry: *const u32§exec_data: *mut ()§exec_target: usize§line_info: *mut u8§abs_line_info: *mut i32§loc_vars: *mut RawLocVar§upvalues: *mut *mut RawTString§source: *mut RawTString§debug_name: *mut RawTString§debug_insn: *mut u8§type_info: *mut u8§userdata: *mut ()§gc_list: *mut RawGcObject§size_code: i32§size_p: i32§size_loc_vars: i32§size_upvalues: i32§size_k: i32§size_line_info: i32§line_gap_log2: i32§line_defined: i32§bytecode_id: i32§size_type_info: i32§feedback_vec: *mut FeedbackVectorSlot§feedback_vec_size: u32§fun_id: u32§cost: u64

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> 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, 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.