pub trait CppDeletable: Sized {
// Required method
unsafe fn delete(&mut self);
}Expand description
Objects that can be deleted using C++’s delete operator.
This trait is automatically implemented for class types by ritual.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.