accesskit_atspi_common

Trait AdapterCallback

source
pub trait AdapterCallback {
    // Required methods
    fn register_interfaces(
        &self,
        adapter: &Adapter,
        id: NodeId,
        interfaces: InterfaceSet,
    );
    fn unregister_interfaces(
        &self,
        adapter: &Adapter,
        id: NodeId,
        interfaces: InterfaceSet,
    );
    fn emit_event(&self, adapter: &Adapter, event: Event);
}

Required Methods§

source

fn register_interfaces( &self, adapter: &Adapter, id: NodeId, interfaces: InterfaceSet, )

source

fn unregister_interfaces( &self, adapter: &Adapter, id: NodeId, interfaces: InterfaceSet, )

source

fn emit_event(&self, adapter: &Adapter, event: Event)

Implementors§