pub struct EventListenerMode {
pub synchronous: bool,
pub preemptive: bool,
pub global: bool,
}
Fields§
§synchronous: bool
Whether events are delivered synchronously, before the currently focused application sees them.
If false
, events may be delivered asynchronously, which means in some
cases they may already have been delivered to the
application before the AT client receives the notification.
preemptive: bool
Whether events may be consumed by the AT client.
Requires EventListenerMode::synchronous
to be set to true
.
global: bool
If true
, indicates that events are received not from the application toolkit layer,
but from the device driver or windowing system subsystem.
Trait Implementations§
source§impl Clone for EventListenerMode
impl Clone for EventListenerMode
source§fn clone(&self) -> EventListenerMode
fn clone(&self) -> EventListenerMode
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 EventListenerMode
impl Debug for EventListenerMode
source§impl<'de> Deserialize<'de> for EventListenerMode
impl<'de> Deserialize<'de> for EventListenerMode
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 PartialEq<EventListenerMode> for EventListenerMode
impl PartialEq<EventListenerMode> for EventListenerMode
source§fn eq(&self, other: &EventListenerMode) -> bool
fn eq(&self, other: &EventListenerMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EventListenerMode
impl Serialize for EventListenerMode
source§impl Type for EventListenerMode
impl Type for EventListenerMode
impl Copy for EventListenerMode
impl Eq for EventListenerMode
impl StructuralEq for EventListenerMode
impl StructuralPartialEq for EventListenerMode
Auto Trait Implementations§
impl RefUnwindSafe for EventListenerMode
impl Send for EventListenerMode
impl Sync for EventListenerMode
impl Unpin for EventListenerMode
impl UnwindSafe for EventListenerMode
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
§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de> + ?Sized,
impl<'de, T> DynamicDeserialize<'de> for Twhere T: Type + Deserialize<'de> + ?Sized,
§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
§impl<T> DynamicType for Twhere
T: Type + ?Sized,
impl<T> DynamicType for Twhere T: Type + ?Sized,
§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more