Skip to main content

ContextFn

Type Alias ContextFn 

Source
pub type ContextFn = Rc<dyn Fn(&App) -> Value>;
Expand description

Gives the script the context: what is shown now.

Aliased Typeยง

pub struct ContextFn { /* private fields */ }