pub enum AnkhaOperation {
Show 13 variants
Expression(AnkhaExpression),
Group(AnkhaScript),
GroupReversed(AnkhaScript),
MakeRegister {
kind: AnkhaValueKind,
name: Option<String>,
},
DropRegister(AnkhaRegisterAddress),
PushFromRegister(AnkhaRegisterAddress),
PopToRegister(AnkhaRegisterAddress),
CallFunction(AnkhaFunctionQuery),
BranchScope {
script_success: AnkhaScript,
script_failure: Option<AnkhaScript>,
},
LoopScope {
script: AnkhaScript,
},
PushScope {
script: AnkhaScript,
},
PopScope,
EnsureRegister {
type_query: Option<AnkhaTypeQuery>,
kind: Option<AnkhaValueKind>,
address: AnkhaRegisterAddress,
},
}Variants§
Expression(AnkhaExpression)
Group(AnkhaScript)
GroupReversed(AnkhaScript)
MakeRegister
DropRegister(AnkhaRegisterAddress)
PushFromRegister(AnkhaRegisterAddress)
PopToRegister(AnkhaRegisterAddress)
CallFunction(AnkhaFunctionQuery)
BranchScope
LoopScope
Fields
§
script: AnkhaScriptPushScope
Fields
§
script: AnkhaScriptPopScope
EnsureRegister
Fields
§
type_query: Option<AnkhaTypeQuery>§
kind: Option<AnkhaValueKind>§
address: AnkhaRegisterAddressTrait Implementations§
Source§impl Clone for AnkhaOperation
impl Clone for AnkhaOperation
Source§fn clone(&self) -> AnkhaOperation
fn clone(&self) -> AnkhaOperation
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 AnkhaOperation
impl Debug for AnkhaOperation
Source§impl<'de> Deserialize<'de> for AnkhaOperation
impl<'de> Deserialize<'de> for AnkhaOperation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AnkhaOperation
impl PartialEq for AnkhaOperation
Source§impl Serialize for AnkhaOperation
impl Serialize for AnkhaOperation
impl StructuralPartialEq for AnkhaOperation
Auto Trait Implementations§
impl Freeze for AnkhaOperation
impl RefUnwindSafe for AnkhaOperation
impl Send for AnkhaOperation
impl Sync for AnkhaOperation
impl Unpin for AnkhaOperation
impl UnsafeUnpin for AnkhaOperation
impl UnwindSafe for AnkhaOperation
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