pub trait AddCleanup {
    // Required method
    fn add_cleanup(&mut self, ty: TypeIndex, iface: *mut c_void, cleanup: fn());
}

Required Methods§

source

fn add_cleanup(&mut self, ty: TypeIndex, iface: *mut c_void, cleanup: fn())

| Add cleanup callback to interface that | will run when the interface is deleted. |

Implementors§