Skip to main content

read_shared_i8

Function read_shared_i8 

Source
pub unsafe fn read_shared_i8(cell: *const SharedCell) -> i8
Expand description

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

§Safety

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