Trait DropPtr

Source
pub unsafe trait DropPtr {
    // Required method
    unsafe fn drop_ptr(_: *mut Self);
}

Required Methods§

Source

unsafe fn drop_ptr(_: *mut Self)

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.

Implementors§