#[repr(u32)]pub enum FuncKeyKind {
DefinedWasmFunction = 0,
ArrayToWasmTrampoline = 536_870_912,
WasmToArrayTrampoline = 1_073_741_824,
WasmToBuiltinTrampoline = 1_610_612_736,
PulleyHostCall = 2_147_483_648,
ComponentTrampoline = 2_684_354_560,
ResourceDropTrampoline = 3_221_225_472,
}
Expand description
The kind of a function that is being compiled, linked, or otherwise referenced.
This is like a FuncKey
but without any payload values.
Variants§
DefinedWasmFunction = 0
A Wasm-defined function.
ArrayToWasmTrampoline = 536_870_912
A trampoline from an array-caller to the given Wasm-callee.
WasmToArrayTrampoline = 1_073_741_824
A trampoline from a Wasm-caller to an array-callee of the given type.
WasmToBuiltinTrampoline = 1_610_612_736
A trampoline from a Wasm-caller to the given builtin.
PulleyHostCall = 2_147_483_648
A Pulley-specific host call.
ComponentTrampoline = 2_684_354_560
A Wasm-caller to component builtin trampoline.
ResourceDropTrampoline = 3_221_225_472
A Wasm-caller to array-callee resource.drop
trampoline.
Implementations§
Trait Implementations§
Source§impl Clone for FuncKeyKind
impl Clone for FuncKeyKind
Source§fn clone(&self) -> FuncKeyKind
fn clone(&self) -> FuncKeyKind
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 FuncKeyKind
impl Debug for FuncKeyKind
Source§impl From<FuncKeyKind> for u32
impl From<FuncKeyKind> for u32
Source§fn from(kind: FuncKeyKind) -> Self
fn from(kind: FuncKeyKind) -> Self
Converts to this type from the input type.
Source§impl Hash for FuncKeyKind
impl Hash for FuncKeyKind
Source§impl Ord for FuncKeyKind
impl Ord for FuncKeyKind
Source§fn cmp(&self, other: &FuncKeyKind) -> Ordering
fn cmp(&self, other: &FuncKeyKind) -> 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 FuncKeyKind
impl PartialEq for FuncKeyKind
Source§impl PartialOrd for FuncKeyKind
impl PartialOrd for FuncKeyKind
impl Copy for FuncKeyKind
impl Eq for FuncKeyKind
impl StructuralPartialEq for FuncKeyKind
Auto Trait Implementations§
impl Freeze for FuncKeyKind
impl RefUnwindSafe for FuncKeyKind
impl Send for FuncKeyKind
impl Sync for FuncKeyKind
impl Unpin for FuncKeyKind
impl UnwindSafe for FuncKeyKind
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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.