pub struct EventBodyQtOwned {
pub kind: String,
pub detail1: i32,
pub detail2: i32,
pub any_data: OwnedValue,
pub(crate) properties: QtProperties,
}Expand description
Event body as used exclusively by ‘Qt’ toolkit.
Signature: “siiv(so)”
Fields§
§kind: Stringkind variant, used for specifying an event triple “object:state-changed:focused”, the “focus” part of this event is what is contained within the kind.
detail1: i32Generic detail1 value described by AT-SPI.
detail2: i32Generic detail2 value described by AT-SPI.
any_data: OwnedValueGeneric any_data value described by AT-SPI.
This can be any type.
properties: QtPropertiesNot in use.
See: QtProperties.
Trait Implementations§
Source§impl Clone for EventBodyQtOwned
impl Clone for EventBodyQtOwned
Source§fn clone(&self) -> Self
fn clone(&self) -> Self
§Safety
This implementation of Clone can panic! although chances are slim.
If the following conditions are met:
- the
any_datafield contains anstd::os::fd::OwnedFdtype, and - the maximum number of open files for the process is exceeded.
Then this function panic.
None of the types in crate::events use std::os::fd::OwnedFd.
Events on the AT-SPI bus could, theoretically send a file descriptor, but nothing in the current
specification describes that.
See zvariant::Value::try_clone for more information.
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for EventBodyQtOwned
impl Debug for EventBodyQtOwned
Source§impl Default for EventBodyQtOwned
impl Default for EventBodyQtOwned
Source§impl<'de> Deserialize<'de> for EventBodyQtOwned
impl<'de> Deserialize<'de> for EventBodyQtOwned
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>,
Source§impl From<EventBody<'_>> for EventBodyQtOwned
impl From<EventBody<'_>> for EventBodyQtOwned
Source§impl<'a> From<EventBodyBorrowed<'a>> for EventBodyQtOwned
impl<'a> From<EventBodyBorrowed<'a>> for EventBodyQtOwned
Source§fn from(borrowed: EventBodyBorrowed<'a>) -> Self
fn from(borrowed: EventBodyBorrowed<'a>) -> Self
Source§impl From<EventBodyOwned> for EventBodyQtOwned
impl From<EventBodyOwned> for EventBodyQtOwned
Source§fn from(owned: EventBodyOwned) -> Self
fn from(owned: EventBodyOwned) -> Self
Source§impl From<EventBodyQtOwned> for EventBody<'_>
impl From<EventBodyQtOwned> for EventBody<'_>
Source§fn from(qt_owned: EventBodyQtOwned) -> Self
fn from(qt_owned: EventBodyQtOwned) -> Self
Source§impl From<EventBodyQtOwned> for EventBodyOwned
impl From<EventBodyQtOwned> for EventBodyOwned
Source§fn from(body: EventBodyQtOwned) -> Self
fn from(body: EventBodyQtOwned) -> Self
Source§impl PartialEq<EventBodyOwned> for EventBodyQtOwned
impl PartialEq<EventBodyOwned> for EventBodyQtOwned
Source§fn eq(&self, other: &EventBodyOwned) -> bool
fn eq(&self, other: &EventBodyOwned) -> bool
self and other values to be equal, and is used by ==.Source§impl PartialEq<EventBodyQtOwned> for EventBodyOwned
impl PartialEq<EventBodyQtOwned> for EventBodyOwned
Source§fn eq(&self, other: &EventBodyQtOwned) -> bool
fn eq(&self, other: &EventBodyQtOwned) -> bool
self and other values to be equal, and is used by ==.Source§impl PartialEq for EventBodyQtOwned
impl PartialEq for EventBodyQtOwned
Source§fn eq(&self, other: &EventBodyQtOwned) -> bool
fn eq(&self, other: &EventBodyQtOwned) -> bool
self and other values to be equal, and is used by ==.