Skip to main content

feature_short_name

Function feature_short_name 

Source
pub fn feature_short_name(feature_type: &str) -> String
Expand description

A feature type’s SHORT name (shortName, e.g. P.CU, S, E), else the type code itself. This is the BASE for a new feature’s id: the engine appends the part history’s persistent global counter to it (P.CUP.CU7, SS8) in crate::history::History::next_feature_id.