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 more