Trait koto_runtime::KotoFunction
source · pub trait KotoFunction: Fn(&mut CallContext<'_>) -> Result<KValue> + KotoSend + KotoSync + 'static { }
Expand description
A trait for native functions used by the Koto runtime
pub trait KotoFunction: Fn(&mut CallContext<'_>) -> Result<KValue> + KotoSend + KotoSync + 'static { }
A trait for native functions used by the Koto runtime