Skip to main content

peek_heap_mut

Function peek_heap_mut 

Source
pub unsafe fn peek_heap_mut<'a>(stack: *mut u64) -> Option<&'a mut Value>
Expand description

Convenience: get a mutable reference to the heap Value at stack top (sp - 1).

ยงSafety

Stack must have at least one value. See heap_value_mut for lifetime rules.