Trait dui::callback::callbacks::DestroyCb [] [src]

pub trait DestroyCb where
    Self: Element + 'static, 
{ fn set_destroy_cb<F>(&mut self, cb: F) -> Self
    where
        F: Callback<(Self,)>
, { ... }
fn remove_destroy_cb(&mut self) -> Option<Box<Callback<(Self,)>>> { ... } }

Called right before an element is destroyed.

Provided Methods

Implementors