Trait 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§