pub enum Kind {
Id,
Key,
Number,
Bool,
Table,
Ref(&'static str),
Refs(&'static str),
Coefficients(&'static str),
Position,
Point,
Route(&'static [&'static str]),
Choice(&'static [&'static str]),
}Expand description
What a field holds.
Variants§
Id
The node’s own id: unique among all nodes of the file, letters, digits, _ and -.
Key
A translation key (shown as is where no translation has it).
Number
A number, or the dotted path of a number elsewhere in the file ("geometry.stroke_m"), which is then the
value the parameter panel, the catalogue and the sensitivity analysis change.
Bool
Table
The name of a table of the file.
Ref(&'static str)
The id of a node of the named list.
Refs(&'static str)
Ids of nodes of the named list.
Coefficients(&'static str)
A table from ids of nodes of the named list to numbers.
Position
Where an editor draws the node, [x, y]; the simulation does not read it.
Point
A point [x, y, z] in metres, each a number or the dotted path of one (as Number).
Route(&'static [&'static str])
Ids of nodes of any of the named lists, in an order that means something (a belt’s way past them).
Choice(&'static [&'static str])
One of the named words.