Enum atspi_proxies::events::focus::FocusEvents
source · pub enum FocusEvents {
Focus(FocusEvent),
}
Variants§
Focus(FocusEvent)
See: FocusEvent
.
Trait Implementations§
source§impl Clone for FocusEvents
impl Clone for FocusEvents
source§fn clone(&self) -> FocusEvents
fn clone(&self) -> FocusEvents
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 FocusEvents
impl Debug for FocusEvents
source§impl<'de> Deserialize<'de> for FocusEvents
impl<'de> Deserialize<'de> for FocusEvents
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<FocusEvents, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<FocusEvents, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<FocusEvent> for FocusEvents
impl From<FocusEvent> for FocusEvents
source§fn from(specific_event: FocusEvent) -> FocusEvents
fn from(specific_event: FocusEvent) -> FocusEvents
Converts to this type from the input type.
source§impl From<FocusEvents> for Event
impl From<FocusEvents> for Event
source§fn from(event_variant: FocusEvents) -> Event
fn from(event_variant: FocusEvents) -> Event
Converts to this type from the input type.
source§impl HasMatchRule for FocusEvents
impl HasMatchRule for FocusEvents
source§const MATCH_RULE_STRING: &'static str = "type='signal',interface='org.a11y.atspi.Event.Focus'"
const MATCH_RULE_STRING: &'static str = "type='signal',interface='org.a11y.atspi.Event.Focus'"
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
.source§impl HasRegistryEventString for FocusEvents
impl HasRegistryEventString for FocusEvents
source§const REGISTRY_EVENT_STRING: &'static str = "Focus:"
const REGISTRY_EVENT_STRING: &'static str = "Focus:"
A registry event string for registering for event receiving via the
RegistryProxy
.
This should be deprecated in favour of composing the string from GenericEvent::DBUS_MEMBER
and GenericEvent::DBUS_INTERFACE
.source§impl Hash for FocusEvents
impl Hash for FocusEvents
source§impl PartialEq<FocusEvents> for FocusEvents
impl PartialEq<FocusEvents> for FocusEvents
source§fn eq(&self, other: &FocusEvents) -> bool
fn eq(&self, other: &FocusEvents) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for FocusEvents
impl Serialize for FocusEvents
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 FocusEvents
impl TryFrom<&Message> for FocusEvents
§type Error = AtspiError
type Error = AtspiError
The type returned in the event of a conversion error.
source§fn try_from(
ev: &Message
) -> Result<FocusEvents, <FocusEvents as TryFrom<&Message>>::Error>
fn try_from( ev: &Message ) -> Result<FocusEvents, <FocusEvents as TryFrom<&Message>>::Error>
Performs the conversion.
source§impl TryFrom<Event> for FocusEvents
impl TryFrom<Event> for FocusEvents
§type Error = AtspiError
type Error = AtspiError
The type returned in the event of a conversion error.
source§fn try_from(
generic_event: Event
) -> Result<FocusEvents, <FocusEvents as TryFrom<Event>>::Error>
fn try_from( generic_event: Event ) -> Result<FocusEvents, <FocusEvents as TryFrom<Event>>::Error>
Performs the conversion.
impl Eq for FocusEvents
impl StructuralEq for FocusEvents
impl StructuralPartialEq for FocusEvents
Auto Trait Implementations§
impl RefUnwindSafe for FocusEvents
impl Send for FocusEvents
impl Sync for FocusEvents
impl Unpin for FocusEvents
impl UnwindSafe for FocusEvents
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