#[repr(u8)]enum BaseOp {
Show 34 variants
End = 0,
Jump = 1,
JumpZ = 2,
Call = 3,
Ret = 4,
Push = 5,
Pop = 6,
Str = 7,
SetVar = 8,
GetVar = 9,
SetFlag = 10,
GetFlag = 11,
Neg = 12,
Add = 13,
Sub = 14,
Mul = 15,
Div = 16,
Mod = 17,
Not = 18,
And = 19,
Or = 20,
Xor = 21,
Shr = 22,
Shl = 23,
Eq = 24,
Ne = 25,
Gt = 26,
Ge = 27,
Lt = 28,
Le = 29,
LNot = 30,
LAnd = 31,
LOr = 32,
FileLine = 33,
}
Available on crate feature
escude
only.Variants§
End = 0
Jump = 1
JumpZ = 2
Call = 3
Ret = 4
Push = 5
Pop = 6
Str = 7
SetVar = 8
GetVar = 9
SetFlag = 10
GetFlag = 11
Neg = 12
Add = 13
Sub = 14
Mul = 15
Div = 16
Mod = 17
Not = 18
And = 19
Or = 20
Xor = 21
Shr = 22
Shl = 23
Eq = 24
Ne = 25
Gt = 26
Ge = 27
Lt = 28
Le = 29
LNot = 30
LAnd = 31
LOr = 32
FileLine = 33
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BaseOp
impl RefUnwindSafe for BaseOp
impl Send for BaseOp
impl Sync for BaseOp
impl Unpin for BaseOp
impl UnwindSafe for BaseOp
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more