pub enum Opcode<'a> {
Show 53 variants
Push(Variable<'a>),
Pop,
Rot,
Fetch,
FetchField(&'a str),
FetchEnv(&'a str),
Negate,
Not,
Equal,
Jump(usize),
JumpIfTrue(usize),
JumpIfFalse(usize),
JumpIfEnd(usize),
JumpBackward(usize),
In,
Less,
More,
LessOrEqual,
MoreOrEqual,
Abs,
Average,
Min,
Max,
Round,
Floor,
Ceil,
Sum,
Random,
Add,
Subtract,
Multiply,
Divide,
Modulo,
Exponent,
Interval {
left_bracket: &'a str,
right_bracket: &'a str,
},
Contains,
DateManipulation(&'a str),
Uppercase,
Lowercase,
StartsWith,
EndsWith,
Slice,
Array,
Len,
ParseTime,
ParseDuration,
IncrementIt,
IncrementCount,
GetCount,
GetLen,
Pointer,
Begin,
End,
}
Variants§
Push(Variable<'a>)
Pop
Rot
Fetch
FetchField(&'a str)
FetchEnv(&'a str)
Negate
Not
Equal
Jump(usize)
JumpIfTrue(usize)
JumpIfFalse(usize)
JumpIfEnd(usize)
JumpBackward(usize)
In
Less
More
LessOrEqual
MoreOrEqual
Abs
Average
Min
Max
Round
Floor
Ceil
Sum
Random
Add
Subtract
Multiply
Divide
Modulo
Exponent
Interval
Contains
DateManipulation(&'a str)
Uppercase
Lowercase
StartsWith
EndsWith
Slice
Array
Len
ParseTime
ParseDuration
IncrementIt
IncrementCount
GetCount
GetLen
Pointer
Begin
End
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Opcode<'a>
impl<'a> !RefUnwindSafe for Opcode<'a>
impl<'a> !Send for Opcode<'a>
impl<'a> !Sync for Opcode<'a>
impl<'a> Unpin for Opcode<'a>
impl<'a> !UnwindSafe for Opcode<'a>
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