pub struct LuacCodeObject {Show 17 fields
pub source_name: String,
pub first_line: u32,
pub last_line: u32,
pub num_params: u8,
pub is_vararg: u8,
pub max_stack_size: u8,
pub nested_functions: Vec<LuacCodeObject>,
pub upvalues: Vec<Upvalue>,
pub local_vars: Vec<LocalVar>,
pub line_info: Vec<u8>,
pub co_argcount: u8,
pub co_nlocal: u8,
pub co_stacks: u8,
pub num_upval: u8,
pub co_code: Vec<u32>,
pub co_consts: Vec<LuaObject>,
pub upvalue_n: u8,
}Fields§
§source_name: String§first_line: u32§last_line: u32§num_params: u8§is_vararg: u8§max_stack_size: u8§nested_functions: Vec<LuacCodeObject>§upvalues: Vec<Upvalue>§local_vars: Vec<LocalVar>§line_info: Vec<u8>§co_argcount: u8§co_nlocal: u8§co_stacks: u8§num_upval: u8§co_code: Vec<u32>§co_consts: Vec<LuaObject>§upvalue_n: u8Trait Implementations§
Source§impl Clone for LuacCodeObject
impl Clone for LuacCodeObject
Source§fn clone(&self) -> LuacCodeObject
fn clone(&self) -> LuacCodeObject
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 LuacCodeObject
impl Debug for LuacCodeObject
Source§impl Default for LuacCodeObject
impl Default for LuacCodeObject
Source§impl PartialEq for LuacCodeObject
impl PartialEq for LuacCodeObject
impl Eq for LuacCodeObject
impl StructuralPartialEq for LuacCodeObject
Auto Trait Implementations§
impl Freeze for LuacCodeObject
impl RefUnwindSafe for LuacCodeObject
impl Send for LuacCodeObject
impl Sync for LuacCodeObject
impl Unpin for LuacCodeObject
impl UnwindSafe for LuacCodeObject
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