qualifier.
Either._payloadFor
inout(L) _payloadFor(bool right)() if (!right) ref inout returnSelect a payload reference by compile-time alternative.
Dispatching call sites unroll their branch cases with static foreach, so they keep a single textual handler-call expression (see match and _dispatchPayload); this helper supplies the matching payload reference for each unrolled case.
Parameters
right | compile-time alternative selector: right when true. |
Returns
reference to the selected payload, under this either's
inout(R) _payloadFor(bool right)() if (right) ref inout returnDitto.