Skip to main content

replace_value_in_frame

Function replace_value_in_frame 

Source
pub fn replace_value_in_frame(
    key: &str,
    frame: usize,
    value: Stored,
) -> Option<Stored>
Expand description

Replaces the value key has in stack frame frame (0 = innermost), which must have bound it; returns the value it had there, None when the frame made no binding of key (and nothing is changed).