[][src]Struct ruwren::VMConfig

pub struct VMConfig { /* fields omitted */ }

Implementations

impl VMConfig[src]

pub fn new() -> VMConfig[src]

pub fn printer<P: 'static + Printer>(self, p: P) -> Self[src]

pub fn script_loader<L: 'static + ModuleScriptLoader>(self, l: L) -> Self[src]

pub fn library(self, l: &ModuleLibrary) -> Self[src]

pub fn no_library(self) -> Self[src]

pub fn initial_heap_size(self, ihs: usize) -> Self[src]

pub fn min_heap_size(self, mhs: usize) -> Self[src]

pub fn heap_growth_percent(self, hgp: usize) -> Self[src]

pub fn enable_relative_import(self, eri: bool) -> Self[src]

pub fn build(self) -> VMWrapper[src]

Trait Implementations

impl Default for VMConfig[src]

Auto Trait Implementations

impl !RefUnwindSafe for VMConfig

impl !Send for VMConfig

impl !Sync for VMConfig

impl Unpin for VMConfig

impl !UnwindSafe for VMConfig

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.