Struct wasmtime_wast::WastContext
source · pub struct WastContext<T> { /* private fields */ }
Expand description
The wast test script language allows modules to be defined and actions to be performed on them.
Implementations§
source§impl<T> WastContext<T>
impl<T> WastContext<T>
sourcepub fn register_spectest(&mut self, config: &SpectestConfig) -> Result<()>
pub fn register_spectest(&mut self, config: &SpectestConfig) -> Result<()>
Register “spectest” which is used by the spec testsuite.
Auto Trait Implementations§
impl<T> Freeze for WastContext<T>
impl<T> !RefUnwindSafe for WastContext<T>
impl<T> Send for WastContext<T>where
T: Send,
impl<T> Sync for WastContext<T>where
T: Sync,
impl<T> Unpin for WastContext<T>
impl<T> !UnwindSafe for WastContext<T>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more