#[repr(C)]pub struct OpCode {
pub value: i32,
}Expand description
Fields§
§value: i32Implementations§
Source§impl OpCode
impl OpCode
pub fn nop() -> Self
pub fn debug() -> Self
pub fn pop() -> Self
pub fn copy() -> Self
pub fn swap() -> Self
pub fn literal() -> Self
pub fn closure() -> Self
pub fn new_table() -> Self
pub fn tbl_init_n() -> Self
pub fn tbl_init_i() -> Self
pub fn store_lcl() -> Self
pub fn local() -> Self
pub fn store_upv() -> Self
pub fn upvalue() -> Self
pub fn index_set() -> Self
pub fn index() -> Self
pub fn index_set_n() -> Self
pub fn index_n() -> Self
pub fn index_set_l() -> Self
pub fn index_l() -> Self
pub fn clean() -> Self
pub fn meta() -> Self
pub fn begin_fn() -> Self
pub fn args() -> Self
pub fn call() -> Self
pub fn this_call() -> Self
pub fn ret() -> Self
pub fn jump() -> Self
pub fn jf() -> Self
pub fn j_nil() -> Self
pub fn j_for() -> Self
pub fn jt_or_pop() -> Self
pub fn jf_or_pop() -> Self
pub fn concat() -> Self
pub fn less_eq() -> Self
pub fn less() -> Self
pub fn eq() -> Self
pub fn add() -> Self
pub fn sub() -> Self
pub fn mul() -> Self
pub fn div() -> Self
pub fn mod() -> Self
pub fn not() -> Self
pub fn len() -> Self
pub fn neg() -> Self
pub fn power() -> Self
pub fn c_not() -> Self
pub fn mk_tuple() -> Self
pub fn scalar() -> Self
pub fn incr() -> Self
pub fn to_num() -> Self
pub fn to_bool() -> Self
pub fn exp_tuple() -> Self
pub fn iter_prep() -> Self
pub fn iter_upd() -> Self
pub fn invalid() -> Self
Trait Implementations§
Source§impl ClassIdentity for OpCode
impl ClassIdentity for OpCode
impl Copy for OpCode
impl Eq for OpCode
impl StructuralPartialEq for OpCode
Auto Trait Implementations§
impl Freeze for OpCode
impl RefUnwindSafe for OpCode
impl Send for OpCode
impl Sync for OpCode
impl Unpin for OpCode
impl UnwindSafe for OpCode
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)