Skip to main content

WindowRemovedCallback

Type Alias WindowRemovedCallback 

Source
pub type WindowRemovedCallback = Rc<dyn Fn(&WindowRemovedEvent)>;
Expand description

Signature of the on_removed callback — the framework’s window-teardown hook. See WindowRemovedEvent and WindowConfig::on_removed for exactly when it runs and what it receives.

Aliased Type§

pub struct WindowRemovedCallback { /* private fields */ }