Struct pit_rust_host_lib::Wrapped
source · pub struct Wrapped<U: 'static, E: WasmEngine> {
pub rid: Arc<Interface>,
pub all: Vec<Arc<dyn Fn(StoreContextMut<'_, U, E>, Vec<Value>) -> Result<Vec<Value>> + Send + Sync>>,
}
Fields§
§rid: Arc<Interface>
§all: Vec<Arc<dyn Fn(StoreContextMut<'_, U, E>, Vec<Value>) -> Result<Vec<Value>> + Send + Sync>>
Implementations§
Auto Trait Implementations§
impl<U, E> Freeze for Wrapped<U, E>
impl<U, E> !RefUnwindSafe for Wrapped<U, E>
impl<U, E> Send for Wrapped<U, E>
impl<U, E> Sync for Wrapped<U, E>
impl<U, E> Unpin for Wrapped<U, E>
impl<U, E> !UnwindSafe for Wrapped<U, E>
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