pub(crate) struct RuntimeFunctions {
by_symbol: BTreeMap<&'static str, RuntimeFunction>,
}Expand description
Runtime function metadata and function IDs resolved from ruka_runtime.wasm.
Fields§
§by_symbol: BTreeMap<&'static str, RuntimeFunction>Implementations§
Source§impl RuntimeFunctions
impl RuntimeFunctions
Sourcepub(crate) fn resolve(&self, symbol: &str) -> Option<RuntimeFunction>
pub(crate) fn resolve(&self, symbol: &str) -> Option<RuntimeFunction>
Resolve a runtime function by symbol.
Trait Implementations§
Source§impl Clone for RuntimeFunctions
impl Clone for RuntimeFunctions
Source§fn clone(&self) -> RuntimeFunctions
fn clone(&self) -> RuntimeFunctions
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 moreAuto Trait Implementations§
impl Freeze for RuntimeFunctions
impl RefUnwindSafe for RuntimeFunctions
impl Send for RuntimeFunctions
impl Sync for RuntimeFunctions
impl Unpin for RuntimeFunctions
impl UnwindSafe for RuntimeFunctions
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