pub trait HasMatchRule {
    const MATCH_RULE_STRING: &'static str;
}
Expand description

A specific trait only to define match rules.

Required Associated Constants§

source

const MATCH_RULE_STRING: &'static str

A static match rule string for DBus. This should usually be a string that looks like this: "type='signal',interface='org.a11y.atspi.Event.Object',member='PropertyChange'"; This should be deprecated in favour of composing the string from GenericEvent::DBUS_MEMBER and GenericEvent::DBUS_INTERFACE.

Implementors§

source§

impl HasMatchRule for DocumentEvents

source§

const MATCH_RULE_STRING: &'static str = "type='signal',interface='org.a11y.atspi.Event.Document'"

source§

impl HasMatchRule for CacheEvents

source§

const MATCH_RULE_STRING: &'static str = "type='signal',interface='org.a11y.atspi.Event.Cache'"

source§

impl HasMatchRule for EventListenerEvents

source§

const MATCH_RULE_STRING: &'static str = "type='signal',interface='org.a11y.atspi.Event.Registry'"

source§

impl HasMatchRule for FocusEvents

source§

const MATCH_RULE_STRING: &'static str = "type='signal',interface='org.a11y.atspi.Event.Focus'"

source§

impl HasMatchRule for KeyboardEvents

source§

const MATCH_RULE_STRING: &'static str = "type='signal',interface='org.a11y.atspi.Event.Keyboard'"

source§

impl HasMatchRule for MouseEvents

source§

const MATCH_RULE_STRING: &'static str = "type='signal',interface='org.a11y.atspi.Event.Mouse'"

source§

impl HasMatchRule for ObjectEvents

source§

const MATCH_RULE_STRING: &'static str = "type='signal',interface='org.a11y.atspi.Event.Object'"

source§

impl HasMatchRule for TerminalEvents

source§

const MATCH_RULE_STRING: &'static str = "type='signal',interface='org.a11y.atspi.Event.Terminal'"

source§

impl HasMatchRule for WindowEvents

source§

const MATCH_RULE_STRING: &'static str = "type='signal',interface='org.a11y.atspi.Event.Window'"

source§

impl<'a, T: GenericEvent<'a>> HasMatchRule for T

source§

const MATCH_RULE_STRING: &'static str = <T as GenericEvent>::MATCH_RULE_STRING