Trait runestick::module::InstFn [−][src]
pub trait InstFn<Args>: 'static + Copy + Send + Sync { type Instance; type Return; fn args() -> usize; fn instance_type_hash() -> Hash; fn instance_type_info() -> TypeInfo; fn fn_call(self, stack: &mut Stack, args: usize) -> Result<(), VmError>; }
Expand description
Trait used to provide the inst_fn function.
Associated Types
Required methods
fn instance_type_hash() -> Hash
fn instance_type_hash() -> Hash
Access the value type of the instance.
fn instance_type_info() -> TypeInfo
fn instance_type_info() -> TypeInfo
Access the value type info of the instance.