Type Alias pest::error::RuleToMessageFn
source · pub type RuleToMessageFn<R> = Box<dyn Fn(&R) -> Option<String>>;
Expand description
Function mapping rule to its helper message defined by user.
Aliased Type§
struct RuleToMessageFn<R>(/* private fields */);