Enum atspi_common::events::keyboard::KeyboardEvents
source · pub enum KeyboardEvents {
Modifiers(ModifiersEvent),
}
Variants§
Modifiers(ModifiersEvent)
See: ModifiersEvent
.
Trait Implementations§
source§impl Clone for KeyboardEvents
impl Clone for KeyboardEvents
source§fn clone(&self) -> KeyboardEvents
fn clone(&self) -> KeyboardEvents
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for KeyboardEvents
impl Debug for KeyboardEvents
source§impl<'de> Deserialize<'de> for KeyboardEvents
impl<'de> Deserialize<'de> for KeyboardEvents
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl EventProperties for KeyboardEvents
impl EventProperties for KeyboardEvents
fn path(&self) -> ObjectPath<'_>
fn sender(&self) -> UniqueName<'_>
fn object_ref(&self) -> ObjectRef
source§impl EventTypeProperties for KeyboardEvents
impl EventTypeProperties for KeyboardEvents
source§impl From<KeyboardEvents> for Event
impl From<KeyboardEvents> for Event
source§fn from(event_variant: KeyboardEvents) -> Event
fn from(event_variant: KeyboardEvents) -> Event
Converts to this type from the input type.
source§impl From<ModifiersEvent> for KeyboardEvents
impl From<ModifiersEvent> for KeyboardEvents
source§fn from(specific_event: ModifiersEvent) -> KeyboardEvents
fn from(specific_event: ModifiersEvent) -> KeyboardEvents
Converts to this type from the input type.
source§impl HasMatchRule for KeyboardEvents
impl HasMatchRule for KeyboardEvents
source§const MATCH_RULE_STRING: &'static str = "type='signal',interface='org.a11y.atspi.Event.Keyboard'"
const MATCH_RULE_STRING: &'static str = "type='signal',interface='org.a11y.atspi.Event.Keyboard'"
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 BusProperties::DBUS_MEMBER
and BusProperties::DBUS_INTERFACE
.source§impl HasRegistryEventString for KeyboardEvents
impl HasRegistryEventString for KeyboardEvents
source§const REGISTRY_EVENT_STRING: &'static str = "Keyboard:"
const REGISTRY_EVENT_STRING: &'static str = "Keyboard:"
A registry event string for registering for event receiving via the
RegistryProxy
.
This should be deprecated in favour of composing the string from BusProperties::DBUS_MEMBER
and BusProperties::DBUS_INTERFACE
.source§impl Hash for KeyboardEvents
impl Hash for KeyboardEvents
source§impl PartialEq for KeyboardEvents
impl PartialEq for KeyboardEvents
source§fn eq(&self, other: &KeyboardEvents) -> bool
fn eq(&self, other: &KeyboardEvents) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for KeyboardEvents
impl Serialize for KeyboardEvents
source§impl TryFrom<&Message> for KeyboardEvents
impl TryFrom<&Message> for KeyboardEvents
source§impl TryFrom<Event> for KeyboardEvents
impl TryFrom<Event> for KeyboardEvents
§type Error = AtspiError
type Error = AtspiError
The type returned in the event of a conversion error.
impl Eq for KeyboardEvents
impl StructuralPartialEq for KeyboardEvents
Auto Trait Implementations§
impl Freeze for KeyboardEvents
impl RefUnwindSafe for KeyboardEvents
impl Send for KeyboardEvents
impl Sync for KeyboardEvents
impl Unpin for KeyboardEvents
impl UnwindSafe for KeyboardEvents
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more