Skip to main content

stack_value_to_value

Function stack_value_to_value 

Source
pub unsafe fn stack_value_to_value(sv: StackValue) -> Value
Expand description

Convert a tagged StackValue back to a Value (takes ownership)

§Safety

The StackValue must contain valid data — either a tagged int, bool, or a valid heap pointer from Arc::into_raw.