pub unsafe trait ReplaceDropImpl {
    unsafe fn drop(&mut self);
}
Expand description

Safety

The implemenentor must ensure that they do not remove any drop functionality that is important When using ReplaceDrop, the struct’s fields to not automatically get dropped

Required Methods

Safety

The caller must ensure this function is only called once

Implementations on Foreign Types

Implementors