trait PartialDrop {
// Required method
unsafe fn partial_drop(&mut self, alive: IndexRange);
}Required Methods§
Sourceunsafe fn partial_drop(&mut self, alive: IndexRange)
unsafe fn partial_drop(&mut self, alive: IndexRange)
§Safety
self[alive] are all initialized before the call,
then are never used (without reinitializing them) after it.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".