Skip to main content

is_drop_in_place

Function is_drop_in_place 

Source
pub fn is_drop_in_place(callee: Option<DefId>) -> bool
Expand description

Whether callee is drop_in_place::<T> — the MIR drop shim that drops the pointee in place and (for an owning pointee like Box/Vec) frees its heap allocation.