Enum atspi_common::events::mouse::MouseEvents
source · pub enum MouseEvents {
Abs(AbsEvent),
Rel(RelEvent),
Button(ButtonEvent),
}
Variants§
Trait Implementations§
source§impl Clone for MouseEvents
impl Clone for MouseEvents
source§fn clone(&self) -> MouseEvents
fn clone(&self) -> MouseEvents
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 MouseEvents
impl Debug for MouseEvents
source§impl<'de> Deserialize<'de> for MouseEvents
impl<'de> Deserialize<'de> for MouseEvents
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 MouseEvents
impl EventProperties for MouseEvents
fn path(&self) -> ObjectPath<'_>
fn sender(&self) -> UniqueName<'_>
fn object_ref(&self) -> ObjectRef
source§impl EventTypeProperties for MouseEvents
impl EventTypeProperties for MouseEvents
source§impl From<AbsEvent> for MouseEvents
impl From<AbsEvent> for MouseEvents
source§fn from(specific_event: AbsEvent) -> MouseEvents
fn from(specific_event: AbsEvent) -> MouseEvents
Converts to this type from the input type.
source§impl From<ButtonEvent> for MouseEvents
impl From<ButtonEvent> for MouseEvents
source§fn from(specific_event: ButtonEvent) -> MouseEvents
fn from(specific_event: ButtonEvent) -> MouseEvents
Converts to this type from the input type.
source§impl From<MouseEvents> for Event
impl From<MouseEvents> for Event
source§fn from(event_variant: MouseEvents) -> Event
fn from(event_variant: MouseEvents) -> Event
Converts to this type from the input type.
source§impl From<RelEvent> for MouseEvents
impl From<RelEvent> for MouseEvents
source§fn from(specific_event: RelEvent) -> MouseEvents
fn from(specific_event: RelEvent) -> MouseEvents
Converts to this type from the input type.
source§impl HasMatchRule for MouseEvents
impl HasMatchRule for MouseEvents
source§const MATCH_RULE_STRING: &'static str = "type='signal',interface='org.a11y.atspi.Event.Mouse'"
const MATCH_RULE_STRING: &'static str = "type='signal',interface='org.a11y.atspi.Event.Mouse'"
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 MouseEvents
impl HasRegistryEventString for MouseEvents
source§const REGISTRY_EVENT_STRING: &'static str = "Mouse:"
const REGISTRY_EVENT_STRING: &'static str = "Mouse:"
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 MouseEvents
impl Hash for MouseEvents
source§impl PartialEq for MouseEvents
impl PartialEq for MouseEvents
source§fn eq(&self, other: &MouseEvents) -> bool
fn eq(&self, other: &MouseEvents) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MouseEvents
impl Serialize for MouseEvents
source§impl TryFrom<&Message> for MouseEvents
impl TryFrom<&Message> for MouseEvents
source§impl TryFrom<Event> for MouseEvents
impl TryFrom<Event> for MouseEvents
§type Error = AtspiError
type Error = AtspiError
The type returned in the event of a conversion error.
impl Eq for MouseEvents
impl StructuralPartialEq for MouseEvents
Auto Trait Implementations§
impl Freeze for MouseEvents
impl RefUnwindSafe for MouseEvents
impl Send for MouseEvents
impl Sync for MouseEvents
impl Unpin for MouseEvents
impl UnwindSafe for MouseEvents
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