pub enum Instruction {
Show 75 variants
Add,
Sub,
Mul,
Div,
IntDiv,
Mod,
Plus,
Minus,
Concat,
Const(u16),
Closure(u16),
StaticClosure(u16),
Var(u16),
Set(u16),
ClosureVar(u16),
Comma,
CurlyArray,
SquareArray,
CurlyMap,
Eq,
Ne,
Lt,
Le,
Gt,
Ge,
GenEq,
GenNe,
GenLt,
GenLe,
GenGt,
GenGe,
Is,
Precedes,
Follows,
Union,
Intersect,
Except,
Jump(i16),
JumpIfTrue(i16),
JumpIfFalse(i16),
Call(u8),
Lookup,
WildcardLookup,
Step(u16),
Deduplicate,
Return,
ReturnConvert(u16),
Dup,
Pop,
LetDone,
Cast(u16),
Castable(u16),
InstanceOf(u16),
Treat(u16),
Range,
SequenceLen,
SequenceGet,
BuildNew,
BuildPush,
BuildComplete,
IsNumeric,
XmlName,
XmlDocument,
XmlElement,
XmlAttribute,
XmlNamespace,
XmlText,
XmlComment,
XmlProcessingInstruction,
XmlAppend,
CopyShallow,
CopyDeep,
ApplyTemplates(u16),
PrintTop,
PrintStack,
}
Variants§
Add
Sub
Mul
Div
IntDiv
Mod
Plus
Minus
Concat
Const(u16)
Closure(u16)
StaticClosure(u16)
Var(u16)
Set(u16)
ClosureVar(u16)
Comma
CurlyArray
SquareArray
CurlyMap
Eq
Ne
Lt
Le
Gt
Ge
GenEq
GenNe
GenLt
GenLe
GenGt
GenGe
Is
Precedes
Follows
Union
Intersect
Except
Jump(i16)
JumpIfTrue(i16)
JumpIfFalse(i16)
Call(u8)
Lookup
WildcardLookup
Step(u16)
Deduplicate
Return
ReturnConvert(u16)
Dup
Pop
LetDone
Cast(u16)
Castable(u16)
InstanceOf(u16)
Treat(u16)
Range
SequenceLen
SequenceGet
BuildNew
BuildPush
BuildComplete
IsNumeric
XmlName
XmlDocument
XmlElement
XmlAttribute
XmlNamespace
XmlText
XmlComment
XmlProcessingInstruction
XmlAppend
CopyShallow
CopyDeep
ApplyTemplates(u16)
PrintTop
PrintStack
Trait Implementations§
Source§impl Clone for Instruction
impl Clone for Instruction
Source§fn clone(&self) -> Instruction
fn clone(&self) -> Instruction
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 Instruction
impl Debug for Instruction
Source§impl Hash for Instruction
impl Hash for Instruction
Source§impl PartialEq for Instruction
impl PartialEq for Instruction
impl Eq for Instruction
impl StructuralPartialEq for Instruction
Auto Trait Implementations§
impl Freeze for Instruction
impl RefUnwindSafe for Instruction
impl Send for Instruction
impl Sync for Instruction
impl Unpin for Instruction
impl UnwindSafe for Instruction
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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