[][src]Trait cpp_core::CppDeletable

pub trait CppDeletable: Sized {
    unsafe fn delete(&mut self);
}

Objects that can be deleted using C++'s delete operator.

This trait is automatically implemented for class types by ritual.

Required methods

unsafe fn delete(&mut self)

Calls C++'s delete x on self.

Loading content...

Implementors

Loading content...