stream_export_model_with_inherited

Function stream_export_model_with_inherited 

pub fn stream_export_model_with_inherited(
    content: &[u8],
    entity_index: &Arc<HashMap<u32, (usize, usize), FxBuildHasher>>,
    opts: &ModelOptions,
    f: impl FnMut(EntityRow, Inherited, Option<&DecodedEntity>),
) -> UnitScales
Expand description

stream_export_model_with_options, plus which of each row’s property and quantity entries the entity inherits from its type.

The Inherited passed beside each row reports nothing unless ModelOptions::inherit_type_properties is on. It is a separate argument rather than a field on PropValue and QuantityValue so those types keep their published shape.