pub enum SerdeOperation {
Expression(SerdeExpression),
MakeRegister {
name: String,
module_name: Option<String>,
},
DropRegister {
index: usize,
},
PushFromRegister {
index: usize,
},
PopToRegister {
index: usize,
},
CallFunction {
name: String,
module_name: Option<String>,
type_name: Option<String>,
visibility: Option<Visibility>,
},
BranchScope {
script_success: SerdeScript,
script_failure: Option<SerdeScript>,
},
LoopScope {
script: SerdeScript,
},
PushScope {
script: SerdeScript,
},
PopScope,
}
Variants§
Expression(SerdeExpression)
MakeRegister
DropRegister
PushFromRegister
PopToRegister
CallFunction
Fields
§
visibility: Option<Visibility>
BranchScope
LoopScope
Fields
§
script: SerdeScript
PushScope
Fields
§
script: SerdeScript
PopScope
Trait Implementations§
source§impl Clone for SerdeOperation
impl Clone for SerdeOperation
source§fn clone(&self) -> SerdeOperation
fn clone(&self) -> SerdeOperation
Returns a copy 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 SerdeOperation
impl Debug for SerdeOperation
source§impl<'de> Deserialize<'de> for SerdeOperation
impl<'de> Deserialize<'de> for SerdeOperation
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 SerdeOperation
impl PartialEq for SerdeOperation
source§fn eq(&self, other: &SerdeOperation) -> bool
fn eq(&self, other: &SerdeOperation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SerdeOperation
impl Serialize for SerdeOperation
impl StructuralPartialEq for SerdeOperation
Auto Trait Implementations§
impl Freeze for SerdeOperation
impl RefUnwindSafe for SerdeOperation
impl Send for SerdeOperation
impl Sync for SerdeOperation
impl Unpin for SerdeOperation
impl UnwindSafe for SerdeOperation
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