[−][src]Struct ruwren::VMConfig
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
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]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,