I have the following type:
type RangeFn = fn(&Value, &Value) -> bool;
Now I want to put it with this struct:
#[derive(Debug)]
struct Range {
fun: RangeFn,
}
But if I have a struct that takes RangeFn as a parameter, then I can't seem to have it derive from Debug. How do I make RangeFn compatible with the Debug trait?