Skip to main content

NativeFunction

Type Alias NativeFunction 

Source
pub type NativeFunction = dyn Fn(&[Value]) -> Result<Value> + Send + Sync;
Expand description

A native method. The receiver of a method call is its first argument, so name.upper() and upper(name) are the same call.