Skip to main content

BuiltinHandler

Type Alias BuiltinHandler 

Source
pub type BuiltinHandler = fn(&HostBridge, &str) -> Result<String, String>;
Expand description

A function implemented in the framework itself rather than loaded from a library: an ordinary Rust fn over the same HostBridge a dynamic function sees. See crate::builtins.