[−][src]Enum wabt::script::CommandKind
Script's command.
Variants
Module
Define, validate and instantiate a module.
Fields of Module
module: ModuleBinary
Wasm module binary to define, validate and instantiate.
name: Option<String>
If the name
is specified, the module should be registered under this name.
AssertReturn
Assert that specified action should yield specified results.
Fields of AssertReturn
AssertReturnCanonicalNan
Assert that specified action should yield NaN in canonical form.
Fields of AssertReturnCanonicalNan
action: Action<F32, F64>
Action to perform.
AssertReturnArithmeticNan
Assert that specified action should yield NaN with 1 in MSB of fraction field.
Fields of AssertReturnArithmeticNan
action: Action<F32, F64>
Action to perform.
AssertTrap
Assert that performing specified action must yield in a trap.
Fields of AssertTrap
AssertInvalid
Assert that specified module is invalid.
Fields of AssertInvalid
module: ModuleBinary
Module that should be invalid.
message: String
Expected failure should be with this message.
AssertMalformed
Assert that specified module cannot be decoded.
Fields of AssertMalformed
module: ModuleBinary
Module that should be malformed.
message: String
Expected failure should be with this message.
AssertUninstantiable
Assert that specified module is uninstantiable.
Fields of AssertUninstantiable
module: ModuleBinary
Module that should be uninstantiable.
message: String
Expected failure should be with this message.
AssertExhaustion
Assert that specified action should yield in resource exhaustion.
Fields of AssertExhaustion
AssertUnlinkable
Assert that specified module fails to link.
Fields of AssertUnlinkable
module: ModuleBinary
Module that should be unlinkable.
message: String
Expected failure should be with this message.
Register
Register a module under specified name (as_name
).
Fields of Register
PerformAction(Action<F32, F64>)
Perform the specified action.
Trait Implementations
impl<F32: Clone, F64: Clone> Clone for CommandKind<F32, F64>
[src]
fn clone(&self) -> CommandKind<F32, F64>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<F32: PartialEq, F64: PartialEq> PartialEq<CommandKind<F32, F64>> for CommandKind<F32, F64>
[src]
fn eq(&self, other: &CommandKind<F32, F64>) -> bool
[src]
fn ne(&self, other: &CommandKind<F32, F64>) -> bool
[src]
impl<F32: Debug, F64: Debug> Debug for CommandKind<F32, F64>
[src]
Auto Trait Implementations
impl<F32, F64> Sync for CommandKind<F32, F64> where
F32: Sync,
F64: Sync,
F32: Sync,
F64: Sync,
impl<F32, F64> Send for CommandKind<F32, F64> where
F32: Send,
F64: Send,
F32: Send,
F64: Send,
impl<F32, F64> Unpin for CommandKind<F32, F64> where
F32: Unpin,
F64: Unpin,
F32: Unpin,
F64: Unpin,
impl<F32, F64> UnwindSafe for CommandKind<F32, F64> where
F32: UnwindSafe,
F64: UnwindSafe,
F32: UnwindSafe,
F64: UnwindSafe,
impl<F32, F64> RefUnwindSafe for CommandKind<F32, F64> where
F32: RefUnwindSafe,
F64: RefUnwindSafe,
F32: RefUnwindSafe,
F64: RefUnwindSafe,
Blanket Implementations
impl<T> FromBits<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,