Skip to main content

field_set

Function field_set 

Source
pub fn field_set(h: u64, slot: FieldSlot, val: &[u64]) -> bool
Expand description

Writes field slot of the live object h from val; a null, stale, or out-of-range handle/slot is a no-op (no live storage exists to write) that returns false, so the caller can report the access (LRM 1800-2023 8.4: a member of a null handle is a run-time error). true when it wrote.