Skip to main content

write_shared_u32

Function write_shared_u32 

Source
pub unsafe fn write_shared_u32(cell: *const SharedCell, value: u32)
Expand description

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

§Safety

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