accesskit

Trait DeactivationHandler

source
pub trait DeactivationHandler {
    // Required method
    fn deactivate_accessibility(&mut self);
}
Expand description

Handles deactivation of the application’s accessibility implementation.

Required Methods§

source

fn deactivate_accessibility(&mut self)

Deactivate the application’s accessibility implementation and drop any associated data that can be reconstructed later. After this method is called, if an accessibility tree is needed again, the platform adapter will call ActivationHandler::request_initial_tree again.

The thread on which this method is called is platform-dependent. Refer to the platform adapter documentation for more details.

Implementors§