Skip to main content

lean_st_ref_swap

Function lean_st_ref_swap 

Source
pub unsafe fn lean_st_ref_swap(r: Obj, a: Obj) -> Obj
Expand description

ST.Prim.Ref.swap (consumes a, returns the old value).