Framework for embedding localizations into Rust types

Fix bug preventing structs from using selectors

This is mostly a band-aid fix and will likely only be fully solved by the eventual move to an intermediate representation.

Created by  finchie  on August 12, 2025
Y6YSEDJMU4RLAQG4LJUV5MN6Q2KK2FWOBBIIQY2ZUVM2PREVSNFAC
Change contents