Skip to main content

write_shared_bool

Function write_shared_bool 

Source
pub unsafe fn write_shared_bool(cell: *const SharedCell, value: bool)
Expand description

Write a bool to a SharedCell’s payload as a 0/1 byte, zero-extended to 8 bytes.

§Safety

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