patch_seq_variant_last

Function patch_seq_variant_last 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn patch_seq_variant_last(stack: Stack) -> Stack
Expand description

Get the last field from a variant

Stack effect: ( Variant – Value )

Returns a clone of the last field. Panics if the variant has no fields. This is the “peek” operation for using variants as stacks.

§Safety

Stack must have a Variant on top