pub enum ExprKind {
Show 20 variants
Void,
Nil,
True,
False,
K,
KFlt,
KInt,
KStr,
NonReloc,
Local,
UpVal,
Const,
Indexed,
IndexUp,
IndexI,
IndexStr,
Jmp,
Reloc,
Call,
VarArg,
}Expand description
Variants correspond exactly to the C enum in lparser.h.
Variants§
Void
Nil
True
False
K
KFlt
KInt
KStr
NonReloc
Local
UpVal
Const
Indexed
IndexUp
IndexI
IndexStr
Jmp
Reloc
Call
VarArg
Implementations§
Trait Implementations§
impl Copy for ExprKind
impl Eq for ExprKind
impl StructuralPartialEq for ExprKind
Auto Trait Implementations§
impl Freeze for ExprKind
impl RefUnwindSafe for ExprKind
impl Send for ExprKind
impl Sync for ExprKind
impl Unpin for ExprKind
impl UnsafeUnpin for ExprKind
impl UnwindSafe for ExprKind
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