Enum atspi_proxies::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<KeyboardEvents, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<KeyboardEvents, <__D as Deserializer<'de>>::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§impl Serialize for KeyboardEvents
impl Serialize for KeyboardEvents
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl TryFrom<&Message> for KeyboardEvents
impl TryFrom<&Message> for KeyboardEvents
§type Error = AtspiError
type Error = AtspiError
The type returned in the event of a conversion error.
source§fn try_from(
ev: &Message,
) -> Result<KeyboardEvents, <KeyboardEvents as TryFrom<&Message>>::Error>
fn try_from( ev: &Message, ) -> Result<KeyboardEvents, <KeyboardEvents as TryFrom<&Message>>::Error>
Performs the conversion.
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.
source§fn try_from(
generic_event: Event,
) -> Result<KeyboardEvents, <KeyboardEvents as TryFrom<Event>>::Error>
fn try_from( generic_event: Event, ) -> Result<KeyboardEvents, <KeyboardEvents as TryFrom<Event>>::Error>
Performs the conversion.
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)