Skip to main content

read_shared_i16

Function read_shared_i16 

Source
pub unsafe fn read_shared_i16(cell: *const SharedCell) -> i16
Expand description

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

§Safety

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