Type Definition sodg::Alert

source ·
pub type Alert = fn(g: &Sodg, vx: Vec<u32>) -> Vec<String>;
Expand description

A function that is called when a problem is found in Sodg.

Instances of this type can be used in Sodg::alert_on method, in order to ensure runtime consistency of data inside the graph.