conjure_oxide::solver

Type Alias SolverCallback

Source
pub type SolverCallback = Box<dyn Fn(HashMap<Name, Literal>) -> bool + Send>;
Expand description

The type for user-defined callbacks for use with Solver.

Note that this enforces thread safety

Aliased Typeยง

struct SolverCallback(/* private fields */);