Give each element a serial number #22

Merged
glen merged 6 commits from element-serial into main 2024-11-22 02:25:11 +00:00
Showing only changes of commit a5fd6545e0 - Show all commits

View File

@ -29,7 +29,7 @@ pub struct Element {
pub constraints: Signal<BTreeSet<ConstraintKey>>,
// a serial number, assigned by `Element::new`, that uniquely identifies
// each element (until `NEXT_ELEMENT_SERIAL` wraps around)
// each element
pub serial: u64,
// the configuration matrix column index that was assigned to this element