Skip to main content

drop_boxed

Function drop_boxed 

Source
pub unsafe fn drop_boxed<T>(payload: ValuePayload)
where T: Clone + PartialEq + Display + Debug + Send + Sync + 'static,
Expand description

Heap drop: free the box.

ยงSafety

The payload must own a Box<T> exactly once; it must never be used again afterwards.