pub struct WasmSignature {
pub params: Vec<WasmType>,
pub results: Vec<WasmType>,
pub retptr: Option<Vec<WasmType>>,
}Expand description
A raw WebAssembly signature with params and results.
Fields§
§params: Vec<WasmType>The WebAssembly parameters of this function.
results: Vec<WasmType>The WebAssembly results of this function.
retptr: Option<Vec<WasmType>>The raw types, if needed, returned through return pointer located in
params.
Trait Implementations§
Source§impl Clone for WasmSignature
impl Clone for WasmSignature
Source§fn clone(&self) -> WasmSignature
fn clone(&self) -> WasmSignature
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 Debug for WasmSignature
impl Debug for WasmSignature
Source§impl Hash for WasmSignature
impl Hash for WasmSignature
Source§impl Ord for WasmSignature
impl Ord for WasmSignature
Source§fn cmp(&self, other: &WasmSignature) -> Ordering
fn cmp(&self, other: &WasmSignature) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WasmSignature
impl PartialEq for WasmSignature
Source§impl PartialOrd for WasmSignature
impl PartialOrd for WasmSignature
impl Eq for WasmSignature
impl StructuralPartialEq for WasmSignature
Auto Trait Implementations§
impl Freeze for WasmSignature
impl RefUnwindSafe for WasmSignature
impl Send for WasmSignature
impl Sync for WasmSignature
impl Unpin for WasmSignature
impl UnwindSafe for WasmSignature
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