[][src]Struct chip_8::vm::VM

pub struct VM<R: Rng> { /* fields omitted */ }

Virtual machine

Implementations

impl<R> VM<R> where
    R: Rng
[src]

#[must_use]pub fn new(rng: R, sys_fn: fn(_: &mut Self, _: Addr) -> Result<()>) -> Self[src]

Creates a new instance with the given RNG

Trait Implementations

impl Default for VM<ThreadRng>[src]

#[must_use]fn default() -> Self[src]

Creates a new instance with thread-local random number generator

Auto Trait Implementations

impl<R> RefUnwindSafe for VM<R> where
    R: RefUnwindSafe

impl<R> Send for VM<R> where
    R: Send

impl<R> Sync for VM<R> where
    R: Sync

impl<R> Unpin for VM<R> where
    R: Unpin

impl<R> UnwindSafe for VM<R> where
    R: UnwindSafe

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,