Skip to main content

write_shared_u16

Function write_shared_u16 

Source
pub unsafe fn write_shared_u16(cell: *const SharedCell, value: u16)
Expand description

Write a u16 to a SharedCell’s payload, zero-extending to 8 bytes.

§Safety

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