Struct EventBodyQtOwned Copy item path Source 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)”
kind variant, used for specifying an event triple “object:state-changed:focused”,
the “focus” part of this event is what is contained within the kind.
Generic detail1 value described by AT-SPI.
Generic detail2 value described by AT-SPI.
Generic any_data value described by AT-SPI.
This can be any type.
§ Safety
This implementation of Clone can panic! although chances are slim.
If the following conditions are met:
the any_data field contains an std::os::fd::OwnedFd type, 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.
Performs copy-assignment from
source.
Read more Formats the value using the given formatter.
Read more Returns the “default value” for a type.
Read more Deserialize this value from the given Serde deserializer.
Read more Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Tests for self and other values to be equal, and is used by ==.
Tests for !=. The default implementation is almost always sufficient,
and should not be overridden without very good reason.
Tests for self and other values to be equal, and is used by ==.
Tests for !=. The default implementation is almost always sufficient,
and should not be overridden without very good reason.
Tests for self and other values to be equal, and is used by ==.
Tests for !=. The default implementation is almost always sufficient,
and should not be overridden without very good reason.
Serialize this value into the given Serde serializer.
Read more The signature for the implementing type, in parsed format.
Read more Immutably borrows from an owned value.
Read more Mutably borrows from an owned value.
Read more 🔬 This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from
self to
dest.
Read more Get a deserializer compatible with this parsed signature.
Returns the argument unchanged.
Instruments this type with the provided
Span, returning an
Instrumented wrapper.
Read more Calls U::from(self).
That is, this conversion is whatever the implementation of
From <T> for U chooses to do.
The none-equivalent value.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more Uses borrowed data to replace owned data, usually by cloning.
Read more The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.