pub type SetInsertFn = unsafe fn(set: PtrMut, value: PtrMut) -> bool;Expand description
Insert a value in the set if not already contained, returning true if the value wasn’t present before
§Safety
The set parameter must point to aligned, initialized memory of the correct type.
value is moved out of (with core::ptr::read) — it should be deallocated afterwards (e.g.
with core::mem::forget) but NOT dropped.