Skip to main content

read_shared_i32

Function read_shared_i32 

Source
pub unsafe fn read_shared_i32(cell: *const SharedCell) -> i32
Expand description

Read an i32 from a SharedCell’s payload, truncating the upper bytes.

§Safety

cell must point to a live SharedCell whose interior FieldKind is I32.