Skip to main content

Module requirement

Module requirement 

Source
Expand description

Boolean checks attached to a cell, identified by stable handles.

Each Requirement is a pure predicate over some set of cells whose result after Sheet::propagate describes whether a cell’s preconditions currently hold. A requirement’s inputs may be any cells in the sheet, not only the cell it’s attached to. See crate::sheet::Sheet::add_requirement.

Structs§

Requirement
A single boolean check over some set of cells, attached to a cell.
RequirementId
A stable handle to a requirement in a crate::sheet::Sheet.