pub fn mapped_item_representation_id(
item: &DecodedEntity,
decoder: &mut EntityDecoder<'_>,
) -> Option<u32>Expand description
Read MappingSource -> MappedRepresentation, decoding only the source. Callers admit mapped items themselves. No source-type admission is applied: legacy colour/layer probes accept even a wrongly typed source with slot 1. Missing/non-reference slots and undecodable sources return None; the target ID is returned even when dangling, so callers can probe their indexes first.