Module canrun::core::constraints

source ·
Expand description

Run code when variables are resolved.

Structs

A set of variables to watch on behalf of a Constraint.

Enums

Resolve one out of two Values or return an Err(VarWatch) in a Constraint.
Resolve two out of three Values or return an Err(VarWatch) in a Constraint.

Traits

Update a State whenever one or more LVars are resolved.

Functions

Resolve one Value or return an Err(VarWatch) in a Constraint.
Resolve two Values or return an Err(VarWatch) in a Constraint.

Type Definitions

An alias for the function that should be returned by a successful Constraint::attempt to update the State.