#[unsafe(no_mangle)]pub unsafe extern "C" fn patch_seq_variant_init(stack: Stack) -> StackExpand description
Get all but the last field from a variant
Stack effect: ( Variant – Variant’ )
Returns a new variant with the same tag but without the last field. Panics if the variant has no fields. This is the “pop” operation for using variants as stacks (without returning the popped value).
§Safety
Stack must have a Variant on top