[−][src]Struct oxygengine_script_flow::vm::Vm
Implementations
impl Vm
[src]
pub fn new(ast: Program) -> Result<Self, VmError>
[src]
pub fn version_range() -> (usize, usize)
[src]
pub fn register_operation<T>(&mut self, name: &str, operator: T) where
T: VmOperation + 'static,
[src]
T: VmOperation + 'static,
pub fn unregister_operator(&mut self, name: &str) -> bool
[src]
pub fn global_variable_value(&self, name: &str) -> Result<Reference, VmError>
[src]
pub fn set_global_variable_value(
&mut self,
name: &str,
value: Reference
) -> Result<Reference, VmError>
[src]
&mut self,
name: &str,
value: Reference
) -> Result<Reference, VmError>
pub fn run_event(
&mut self,
name: &str,
inputs: Vec<Reference>
) -> Result<GUID, VmError>
[src]
&mut self,
name: &str,
inputs: Vec<Reference>
) -> Result<GUID, VmError>
pub fn destroy_event(&mut self, guid: GUID) -> Result<(), VmError>
[src]
pub fn get_completed_event(&mut self, guid: GUID) -> Option<Vec<Reference>>
[src]
pub fn get_completed_events(
&mut self
) -> impl Iterator<Item = (GUID, Vec<Reference>)>
[src]
&mut self
) -> impl Iterator<Item = (GUID, Vec<Reference>)>
pub fn process_events(&mut self) -> Result<(), VmError>
[src]
pub fn single_step_event(&mut self, guid: GUID) -> Result<(), VmError>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
fn get_type_id(&self) -> TypeId
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Event for T where
T: Send + Sync + 'static,
T: Send + Sync + 'static,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Resource for T where
T: Any,
T: Any,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,