pub struct BlockSignature {
pub name: &'static str,
pub params_ty: &'static [ValType],
pub results_ty: &'static [ValType],
}
Expand description
Describes the signature of a block type (e.g., for if
, loop
, block
).
It includes a descriptive name, parameter types, and result types.
Fields§
§name: &'static str
§params_ty: &'static [ValType]
§results_ty: &'static [ValType]
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BlockSignature
impl RefUnwindSafe for BlockSignature
impl Send for BlockSignature
impl Sync for BlockSignature
impl Unpin for BlockSignature
impl UnwindSafe for BlockSignature
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