[][src]Struct passerine::vm::vm::VM

pub struct VM { /* fields omitted */ }

A VM executes bytecode chunks. Each VM's state is self-contained, So more than one can be spawned if needed.

Implementations

impl VM[src]

pub fn init() -> VM[src]

Initialize a new VM. To run the VM, a chunk must be passed to it through run.

Trait Implementations

impl Debug for VM[src]

Auto Trait Implementations

impl !RefUnwindSafe for VM

impl !Send for VM

impl !Sync for VM

impl Unpin for VM

impl !UnwindSafe for VM

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.