[][src]Trait smart_ptr::Deleter

pub trait Deleter {
    fn delete<T>(&mut self, ptr: *mut u8);
}

Describes how to de-allocate pointer.

Required methods

fn delete<T>(&mut self, ptr: *mut u8)

This function is called on Drop

Loading content...

Implementors

impl Deleter for ()[src]

impl Deleter for DefaultDeleter[src]

impl Deleter for unsafe extern "C" fn(_: *mut u8)[src]

impl Deleter for unsafe fn(_: *mut u8)[src]

impl<F: FnMut(*mut u8)> Deleter for F[src]

Loading content...