Make Element::index private

This commit is contained in:
Aaron Fenyes 2024-11-12 23:51:37 -08:00
parent 102f400553
commit b3470b597d

View File

@ -23,10 +23,7 @@ pub struct Element {
// the configuration matrix column index that was assigned to this element // the configuration matrix column index that was assigned to this element
// last time the assembly was realized // last time the assembly was realized
/* TO DO */ index: usize
// this is public, as a kludge, because `Element` doesn't have a constructor
// yet. it should be made private as soon as the constructor is written
pub index: usize
} }
impl Element { impl Element {