Enum atspi_common::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<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 FocusEvents
impl EventProperties for FocusEvents
fn path(&self) -> ObjectPath<'_>
fn sender(&self) -> UniqueName<'_>
fn object_ref(&self) -> ObjectRef
source§impl EventTypeProperties for FocusEvents
impl EventTypeProperties for FocusEvents
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 BusProperties::DBUS_MEMBER
and BusProperties::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 BusProperties::DBUS_MEMBER
and BusProperties::DBUS_INTERFACE
.source§impl Hash for FocusEvents
impl Hash for FocusEvents
source§impl PartialEq for FocusEvents
impl PartialEq for FocusEvents
source§impl Serialize for FocusEvents
impl Serialize for FocusEvents
source§impl TryFrom<&Message> for FocusEvents
impl TryFrom<&Message> for FocusEvents
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.
impl Eq for FocusEvents
impl StructuralPartialEq for FocusEvents
Auto Trait Implementations§
impl Freeze for FocusEvents
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
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
)