Type Alias phoenix_lang::native::native_methods::NativeMethod
source · pub type NativeMethod = fn(_: Value, _: Vec<Value>, _: &VM, _: &mut VMState, _: &[ModuleChunk]) -> Option<Result<Value, String>>;Expand description
Format: self, args, vm, vm_state, modules, if it returns none, this function doesnt support the type Note: self is not mutable, because its the Pointer to the object, or a “primitive” value