//! I4 (RUST.md): the desktop half of the AccessKit push, over //! `accesskit_winit`. `bench-lib.sh`'s tap-by-name goes through the //! platform's real accessibility tree, so this crate only has to keep that //! tree in sync with `ui::access::AccessTree`'s output -- nothing here //! reacts to an AccessKit action request, which is why the three handlers //! below are inert. See RUST.md's I4 box for why: on Android (and, by the //! same platform convention, everywhere else) a screen reader's element tap //! is a real touch delivered at the node's own bounds, not an action //! request synthesised in-process -- so the ordinary pointer path already //! handles it once the bounds are right. use accesskit::{ActionHandler, ActionRequest, ActivationHandler, DeactivationHandler, TreeUpdate}; pub struct NullActivationHandler; impl ActivationHandler for NullActivationHandler { fn request_initial_tree(&mut self) -> Option { None } } pub struct NullActionHandler; impl ActionHandler for NullActionHandler { fn do_action(&mut self, _request: ActionRequest) {} } pub struct NullDeactivationHandler; impl DeactivationHandler for NullDeactivationHandler { fn deactivate_accessibility(&mut self) {} }