Skip to main content

NativeFn

Type Alias NativeFn 

Source
pub type NativeFn = Arc<dyn Fn(&mut Evaluator, Vec<Value>, Span) -> Result<Value, Error> + Send + Sync>;
Expand description

A thread-safe, heap-allocated native function callable from rl.

Aliased Typeยง

pub struct NativeFn { /* private fields */ }