pub enum ScriptOperation<'a, SE: ScriptExpression> {
Show 13 variants
None,
Expression {
expression: SE,
},
DefineRegister {
query: TypeQuery<'a>,
},
DropRegister {
index: usize,
},
PushFromRegister {
index: usize,
},
PopToRegister {
index: usize,
},
MoveRegister {
from: usize,
to: usize,
},
CallFunction {
query: FunctionQuery<'a>,
},
BranchScope {
scope_success: ScriptHandle<'a, SE>,
scope_failure: Option<ScriptHandle<'a, SE>>,
},
LoopScope {
scope: ScriptHandle<'a, SE>,
},
PushScope {
scope: ScriptHandle<'a, SE>,
},
PopScope,
ContinueScopeConditionally,
}
Variants§
None
Expression
Fields
§
expression: SE
DefineRegister
DropRegister
PushFromRegister
PopToRegister
MoveRegister
CallFunction
Fields
§
query: FunctionQuery<'a>
BranchScope
LoopScope
Fields
§
scope: ScriptHandle<'a, SE>
PushScope
Fields
§
scope: ScriptHandle<'a, SE>
PopScope
ContinueScopeConditionally
Implementations§
Source§impl<'a, SE: ScriptExpression> ScriptOperation<'a, SE>
impl<'a, SE: ScriptExpression> ScriptOperation<'a, SE>
Trait Implementations§
Auto Trait Implementations§
impl<'a, SE> Freeze for ScriptOperation<'a, SE>where
SE: Freeze,
impl<'a, SE> RefUnwindSafe for ScriptOperation<'a, SE>where
SE: RefUnwindSafe,
impl<'a, SE> Send for ScriptOperation<'a, SE>
impl<'a, SE> Sync for ScriptOperation<'a, SE>
impl<'a, SE> Unpin for ScriptOperation<'a, SE>where
SE: Unpin,
impl<'a, SE> UnwindSafe for ScriptOperation<'a, SE>where
SE: UnwindSafe + RefUnwindSafe,
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