Struct plugy_runtime::RuntimeCaller
source · pub struct RuntimeCaller<D> {
pub memory: Memory,
pub alloc_fn: TypedFunc<u32, u32>,
pub dealloc_fn: TypedFunc<u64, ()>,
pub data: D,
}Expand description
The caller of a function
Fields§
§memory: Memory§alloc_fn: TypedFunc<u32, u32>§dealloc_fn: TypedFunc<u64, ()>§data: DTrait Implementations§
source§impl<D: Clone> Clone for RuntimeCaller<D>
impl<D: Clone> Clone for RuntimeCaller<D>
source§fn clone(&self) -> RuntimeCaller<D>
fn clone(&self) -> RuntimeCaller<D>
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<D> RefUnwindSafe for RuntimeCaller<D>where D: RefUnwindSafe,
impl<D> Send for RuntimeCaller<D>where D: Send,
impl<D> Sync for RuntimeCaller<D>where D: Sync,
impl<D> Unpin for RuntimeCaller<D>where D: Unpin,
impl<D> UnwindSafe for RuntimeCaller<D>where D: UnwindSafe,
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