pub struct Test {
pub module: String,
pub name: String,
pub wasm: Vec<u8>,
}
Expand description
A wat test
Fields§
§module: String
The module name
name: String
The test name
wasm: Vec<u8>
The test source
Implementations§
§impl Test
impl Test
pub const I32SUB_LOCALS: [u8; 62] = _
pub const I32SUB_LOCALS: [u8; 62] = _
path: i32sub::locals
pub const I32SUB_PARAMS: [u8; 32] = _
pub const I32SUB_PARAMS: [u8; 32] = _
path: i32sub::params
pub const I64ADD_LOCALS: [u8; 62] = _
pub const I64ADD_LOCALS: [u8; 62] = _
path: i64add::locals
pub const I64ADD_PARAMS: [u8; 32] = _
pub const I64ADD_PARAMS: [u8; 32] = _
path: i64add::params
pub const I64ADD_TEE: [u8; 60] = _
pub const I64ADD_TEE: [u8; 60] = _
path: i64add::tee
pub const IF_SINGULAR: [u8; 74] = _
pub const IF_SINGULAR: [u8; 74] = _
path: if::singular
pub const STORAGE_BASIC: [u8; 69] = _
pub const STORAGE_BASIC: [u8; 69] = _
path: storage::basic
pub const STORAGE_STORE: [u8; 52] = _
pub const STORAGE_STORE: [u8; 52] = _
path: storage::store
pub const STORAGE_LOAD: [u8; 69] = _
pub const STORAGE_LOAD: [u8; 69] = _
path: storage::load
pub const LOOP_SINGULAR: [u8; 48] = _
pub const LOOP_SINGULAR: [u8; 48] = _
path: loop::singular
pub const LOOP_AS_BR_IF: [u8; 49] = _
pub const LOOP_AS_BR_IF: [u8; 49] = _
path: loop::as_br_if
pub const I64SUB_LOCALS: [u8; 62] = _
pub const I64SUB_LOCALS: [u8; 62] = _
path: i64sub::locals
pub const I64SUB_PARAMS: [u8; 32] = _
pub const I64SUB_PARAMS: [u8; 32] = _
path: i64sub::params
pub const CALL_DUMMY: [u8; 61] = _
pub const CALL_DUMMY: [u8; 61] = _
path: call::dummy
pub const CALL_AS_IF: [u8; 53] = _
pub const CALL_AS_IF: [u8; 53] = _
path: call::as_if
pub const CALL_PARAMS: [u8; 67] = _
pub const CALL_PARAMS: [u8; 67] = _
path: call::params
pub const BR_IF_AS_BLOCK_LAST: [u8; 97] = _
pub const BR_IF_AS_BLOCK_LAST: [u8; 97] = _
path: br_if::as_block_last
pub const SELECT_PARAMS: [u8; 56] = _
pub const SELECT_PARAMS: [u8; 56] = _
path: select::params
pub const I32ADD_LOCALS: [u8; 62] = _
pub const I32ADD_LOCALS: [u8; 62] = _
path: i32add::locals
pub const I32ADD_PARAMS: [u8; 32] = _
pub const I32ADD_PARAMS: [u8; 32] = _
path: i32add::params
pub const I32ADD_TEE: [u8; 60] = _
pub const I32ADD_TEE: [u8; 60] = _
path: i32add::tee
pub const RECURSION_FIBONACCI: [u8; 163] = _
pub const RECURSION_FIBONACCI: [u8; 163] = _
path: recursion::fibonacci
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Test
impl RefUnwindSafe for Test
impl Send for Test
impl Sync for Test
impl Unpin for Test
impl UnwindSafe for Test
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