Expand description
Wire-format material arena and its resolution into core::Material
values. Composite
materials reference other arena entries by index rather than duplicating
them inline, mirroring core’s own arena-of-indices philosophy.
Enums§
- Material
Spec - One arena entry. Composite variants reference other entries by their
u32index into the same arena, resolved byresolve_materials. - Pinching4
DmgCyc Spec - Wire-format mirror of
core::Pinching4DmgCyc(which carries noserdederives of its own —corestays free of any wasm/serde awareness, seedecode.rs’s module doc comment).
Functions§
- resolve_
materials - Resolves every entry of a wire-format material arena into a
coreMaterial, in arena order. Composite entries may reference any other arena index (not just earlier ones); a reference cycle is rejected explicitly rather than overflowing the call stack.