pub struct UnionOutput {
pub rename: Option<LitStr>,
}Expand description
The OUTPUT face’s declaration: that a backend renders one, and what a schema calls it.
UnionInput’s twin, one position over and the same shape for the same reason. It arrived with
the rename-parity ruling, replacing a bare bool and the sentence no rename knob, and the
absence is the ruling rather than an omission that stood on
output_sdl.
What that sentence was actually right about was the DEFAULT, not the knob. The naming law it
pointed at decides which face keeps the union’s own name when both are rendered — the output,
because that is the one a client writes in a selection set — and it still does. What it does not
decide is whether an author whose scope already holds a Frame may publish this union as
something else, and the answer to that had been no word for it.
Fields§
§rename: Option<LitStr>output(rename = "…") — what a client calls this union, where the declaration moved it.
None is the enum’s own name unraw’d. Where it is written it re-bases the input twin too —
see UnionSkin::input_sdl, where the one blessed derivation is spent.