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 for EventListenerMode
impl PartialEq for EventListenerMode
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 StructuralPartialEq for EventListenerMode
Auto Trait Implementations§
impl Freeze for EventListenerMode
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
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
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<'de, T> DynamicDeserialize<'de> for T
impl<'de, T> DynamicDeserialize<'de> for T
§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
source§fn deserializer_for_signature<S>(
signature: S,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature<S>( signature: S, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this signature.
source§impl<T> DynamicType for T
impl<T> DynamicType for T
source§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more