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