Enum wasm_encoder::BlockType
source · pub enum BlockType {
Empty,
Result(ValType),
FunctionType(u32),
}
Expand description
The type for a block
/if
/loop
.
Variants§
Trait Implementations§
impl Copy for BlockType
Auto Trait Implementations§
impl RefUnwindSafe for BlockType
impl Send for BlockType
impl Sync for BlockType
impl Unpin for BlockType
impl UnwindSafe for BlockType
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