Struct RuntimeFnDescriptor
pub struct RuntimeFnDescriptor {
pub symbol: &'static str,
pub export_name: &'static str,
pub params: &'static [WasmValType],
pub result: Option<WasmValType>,
pub lowering: LoweringMode,
}Expand description
Descriptor for one runtime function available to generated WASM code.
Fields§
§symbol: &'static strCanonical symbol name used in MIR extern calls.
export_name: &'static strExport name expected in the final WASM module.
params: &'static [WasmValType]Ordered parameter value types.
result: Option<WasmValType>Optional result value type.
lowering: LoweringModeBackend lowering behavior for this function.
Trait Implementations§
§impl Clone for RuntimeFnDescriptor
impl Clone for RuntimeFnDescriptor
§fn clone(&self) -> RuntimeFnDescriptor
fn clone(&self) -> RuntimeFnDescriptor
Returns a copy 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 more§impl Debug for RuntimeFnDescriptor
impl Debug for RuntimeFnDescriptor
§impl PartialEq for RuntimeFnDescriptor
impl PartialEq for RuntimeFnDescriptor
impl Copy for RuntimeFnDescriptor
impl Eq for RuntimeFnDescriptor
impl StructuralPartialEq for RuntimeFnDescriptor
Auto Trait Implementations§
impl Freeze for RuntimeFnDescriptor
impl RefUnwindSafe for RuntimeFnDescriptor
impl Send for RuntimeFnDescriptor
impl Sync for RuntimeFnDescriptor
impl Unpin for RuntimeFnDescriptor
impl UnwindSafe for RuntimeFnDescriptor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more