#[repr(C)]pub struct WasmFunctionType {
pub parameterCount: U32,
pub parameterTypes: *mut WasmValueType,
pub resultCount: U32,
pub resultTypes: *mut WasmValueType,
}Fields§
§parameterCount: U32§parameterTypes: *mut WasmValueType§resultCount: U32§resultTypes: *mut WasmValueTypeImplementations§
Source§impl WasmFunctionType
impl WasmFunctionType
Sourcepub fn builder() -> WasmFunctionTypeBuilder<((), (), (), ())>
pub fn builder() -> WasmFunctionTypeBuilder<((), (), (), ())>
Create a builder for building WasmFunctionType.
On the builder, call .parameterCount(...), .parameterTypes(...), .resultCount(...), .resultTypes(...) to set the values of the fields.
Finally, call .build() to create the instance of WasmFunctionType.
Trait Implementations§
Source§impl Clone for WasmFunctionType
impl Clone for WasmFunctionType
Source§fn clone(&self) -> WasmFunctionType
fn clone(&self) -> WasmFunctionType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ConstDefault for WasmFunctionType
impl ConstDefault for WasmFunctionType
Source§impl Debug for WasmFunctionType
impl Debug for WasmFunctionType
Source§impl Hash for WasmFunctionType
impl Hash for WasmFunctionType
impl Copy for WasmFunctionType
Auto Trait Implementations§
impl Freeze for WasmFunctionType
impl RefUnwindSafe for WasmFunctionType
impl !Send for WasmFunctionType
impl !Sync for WasmFunctionType
impl Unpin for WasmFunctionType
impl UnwindSafe for WasmFunctionType
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