Skip to main content

nf_list_item_mut

Function nf_list_item_mut 

Source
#[unsafe(no_mangle)]
pub(crate) unsafe extern "C" fn nf_list_item_mut( context: *const Context, place: *mut Slot, index: i64, span: u32, out: *mut *mut Slot, ) -> bool
Expand description

Writes to out the slot of the item at index in the list in place, which becomes its only owner’s so the item can be changed. The slot is valid until the list next changes.

§Safety

See the module’s contract.