pub struct HostFuncInst<T> {
pub function_type: FuncType,
pub hostcode: fn(&mut T, Vec<Value>) -> Vec<Value>,
}
Fields§
§function_type: FuncType
§hostcode: fn(&mut T, Vec<Value>) -> Vec<Value>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for HostFuncInst<T>
impl<T> RefUnwindSafe for HostFuncInst<T>
impl<T> Send for HostFuncInst<T>
impl<T> Sync for HostFuncInst<T>
impl<T> Unpin for HostFuncInst<T>
impl<T> UnwindSafe for HostFuncInst<T>
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