pub const fn resref_default(text: &str) -> ResRefExpand description
Builds a ResRef from a declared literal.
ยงPanics
Panics if the literal is not a valid resref, meaning longer than sixteen
bytes or not ASCII. The derive calls this from a const block, so the
panic fails the build at the offending declaration rather than at run
time, and an invalid default cannot be quietly replaced by a blank.