Trait go_vm::Ffi

source ·
pub trait Ffi {
    // Required method
    fn call(
        &self,
        ctx: &mut FfiCtx<'_>,
        params: Vec<GosValue>
    ) -> RuntimeResult<Vec<GosValue>>;
}
Expand description

A FFI Object implemented in Rust for Goscript to call

Required Methods§

source

fn call( &self, ctx: &mut FfiCtx<'_>, params: Vec<GosValue> ) -> RuntimeResult<Vec<GosValue>>

Trait Implementations§

source§

impl Debug for dyn Ffi

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Implementors§