Enum atspi_proxies::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<MouseEvents, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MouseEvents, <__D as Deserializer<'de>>::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§impl Serialize for MouseEvents
impl Serialize for MouseEvents
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 MouseEvents
impl TryFrom<&Message> for MouseEvents
§type Error = AtspiError
type Error = AtspiError
The type returned in the event of a conversion error.
source§fn try_from(
ev: &Message,
) -> Result<MouseEvents, <MouseEvents as TryFrom<&Message>>::Error>
fn try_from( ev: &Message, ) -> Result<MouseEvents, <MouseEvents as TryFrom<&Message>>::Error>
Performs the conversion.
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.
source§fn try_from(
generic_event: Event,
) -> Result<MouseEvents, <MouseEvents as TryFrom<Event>>::Error>
fn try_from( generic_event: Event, ) -> Result<MouseEvents, <MouseEvents as TryFrom<Event>>::Error>
Performs the conversion.
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
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
)