Skip to main content

write_shared_i16

Function write_shared_i16 

Source
pub unsafe fn write_shared_i16(cell: *const SharedCell, value: i16)
Expand description

Write an i16 to a SharedCell’s payload, sign-extending to 8 bytes.

§Safety

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