Expand description

ReplaceDrop replaces the drop of a type

It wraps ManuallyDrop and instead of not calling drop, it calls a secondary one This allows you to use other crates like ext to override the drop function of a type

Structs

A wrapper around ManuallyDrop that instead of removing the drop, replaces it Example:

Traits

Functions

Works like drop(val) but uses the ReplaceDropImpl Example: