NodePreFn

Type Alias NodePreFn 

Source
pub type NodePreFn<P> = Box<dyn FnOnce(&ArgMatches, Option<P>) -> Option<P>>;
Expand description

Defines the type of function to be call before a node’s f function (if it exists).

Aliased Type§

pub struct NodePreFn<P>(/* private fields */);