Struct atspi_common::events::EventBodyOwned
source · pub struct EventBodyOwned {
pub kind: String,
pub detail1: i32,
pub detail2: i32,
pub any_data: OwnedValue,
pub properties: HashMap<OwnedUniqueName, OwnedValue>,
}
Expand description
Standard event body (GTK, egui
, etc.)
NOTE: Qt has its own signature: EventBodyQT
.
Signature (siiva{sv})
,
Fields§
§kind: String
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.
detail1: i32
Generic detail1 value described by AT-SPI.
detail2: i32
Generic detail2 value described by AT-SPI.
any_data: OwnedValue
Generic any_data
value described by AT-SPI.
This can be any type.
properties: HashMap<OwnedUniqueName, OwnedValue>
A map of properties. Not in use.
Trait Implementations§
source§impl Clone for EventBodyOwned
impl Clone for EventBodyOwned
Safety: This implementation of Clone
can panic! Although the chance is extremely remote.
If:
- the
any_data
orproperties
field contain anstd::os::fd::OwnedFd
type, and - the maximum number of open files for the process is exceeded.
Then, and only then, will 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
specification allows that.
See zvariant::Value::try_clone
for more information.
source§impl Debug for EventBodyOwned
impl Debug for EventBodyOwned
source§impl Default for EventBodyOwned
impl Default for EventBodyOwned
source§impl<'de> Deserialize<'de> for EventBodyOwned
impl<'de> Deserialize<'de> for EventBodyOwned
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<AbsEvent> for EventBodyOwned
impl From<AbsEvent> for EventBodyOwned
source§impl From<ActivateEvent> for EventBodyOwned
impl From<ActivateEvent> for EventBodyOwned
source§fn from(_event: ActivateEvent) -> Self
fn from(_event: ActivateEvent) -> Self
source§impl From<ActiveDescendantChangedEvent> for EventBodyOwned
impl From<ActiveDescendantChangedEvent> for EventBodyOwned
source§fn from(event: ActiveDescendantChangedEvent) -> Self
fn from(event: ActiveDescendantChangedEvent) -> Self
source§impl From<AnnouncementEvent> for EventBodyOwned
impl From<AnnouncementEvent> for EventBodyOwned
source§fn from(event: AnnouncementEvent) -> Self
fn from(event: AnnouncementEvent) -> Self
source§impl From<ApplicationChangedEvent> for EventBodyOwned
impl From<ApplicationChangedEvent> for EventBodyOwned
source§fn from(_event: ApplicationChangedEvent) -> Self
fn from(_event: ApplicationChangedEvent) -> Self
source§impl From<AttributesChangedEvent> for EventBodyOwned
impl From<AttributesChangedEvent> for EventBodyOwned
source§fn from(_event: AttributesChangedEvent) -> Self
fn from(_event: AttributesChangedEvent) -> Self
source§impl From<AttributesChangedEvent> for EventBodyOwned
impl From<AttributesChangedEvent> for EventBodyOwned
source§fn from(_event: AttributesChangedEvent) -> Self
fn from(_event: AttributesChangedEvent) -> Self
source§impl From<BoundsChangedEvent> for EventBodyOwned
impl From<BoundsChangedEvent> for EventBodyOwned
source§fn from(_event: BoundsChangedEvent) -> Self
fn from(_event: BoundsChangedEvent) -> Self
source§impl From<ButtonEvent> for EventBodyOwned
impl From<ButtonEvent> for EventBodyOwned
source§fn from(event: ButtonEvent) -> Self
fn from(event: ButtonEvent) -> Self
source§impl From<CharWidthChangedEvent> for EventBodyOwned
impl From<CharWidthChangedEvent> for EventBodyOwned
source§fn from(_event: CharWidthChangedEvent) -> Self
fn from(_event: CharWidthChangedEvent) -> Self
source§impl From<ChildrenChangedEvent> for EventBodyOwned
impl From<ChildrenChangedEvent> for EventBodyOwned
source§fn from(event: ChildrenChangedEvent) -> Self
fn from(event: ChildrenChangedEvent) -> Self
source§impl From<CloseEvent> for EventBodyOwned
impl From<CloseEvent> for EventBodyOwned
source§fn from(_event: CloseEvent) -> Self
fn from(_event: CloseEvent) -> Self
source§impl From<ColumnCountChangedEvent> for EventBodyOwned
impl From<ColumnCountChangedEvent> for EventBodyOwned
source§fn from(_event: ColumnCountChangedEvent) -> Self
fn from(_event: ColumnCountChangedEvent) -> Self
source§impl From<ColumnDeletedEvent> for EventBodyOwned
impl From<ColumnDeletedEvent> for EventBodyOwned
source§fn from(_event: ColumnDeletedEvent) -> Self
fn from(_event: ColumnDeletedEvent) -> Self
source§impl From<ColumnInsertedEvent> for EventBodyOwned
impl From<ColumnInsertedEvent> for EventBodyOwned
source§fn from(_event: ColumnInsertedEvent) -> Self
fn from(_event: ColumnInsertedEvent) -> Self
source§impl From<ColumnReorderedEvent> for EventBodyOwned
impl From<ColumnReorderedEvent> for EventBodyOwned
source§fn from(_event: ColumnReorderedEvent) -> Self
fn from(_event: ColumnReorderedEvent) -> Self
source§impl From<ContentChangedEvent> for EventBodyOwned
impl From<ContentChangedEvent> for EventBodyOwned
source§fn from(_event: ContentChangedEvent) -> Self
fn from(_event: ContentChangedEvent) -> Self
source§impl From<CreateEvent> for EventBodyOwned
impl From<CreateEvent> for EventBodyOwned
source§fn from(_event: CreateEvent) -> Self
fn from(_event: CreateEvent) -> Self
source§impl From<DeactivateEvent> for EventBodyOwned
impl From<DeactivateEvent> for EventBodyOwned
source§fn from(_event: DeactivateEvent) -> Self
fn from(_event: DeactivateEvent) -> Self
source§impl From<DesktopCreateEvent> for EventBodyOwned
impl From<DesktopCreateEvent> for EventBodyOwned
source§fn from(_event: DesktopCreateEvent) -> Self
fn from(_event: DesktopCreateEvent) -> Self
source§impl From<DesktopDestroyEvent> for EventBodyOwned
impl From<DesktopDestroyEvent> for EventBodyOwned
source§fn from(_event: DesktopDestroyEvent) -> Self
fn from(_event: DesktopDestroyEvent) -> Self
source§impl From<DestroyEvent> for EventBodyOwned
impl From<DestroyEvent> for EventBodyOwned
source§fn from(_event: DestroyEvent) -> Self
fn from(_event: DestroyEvent) -> Self
source§impl From<EventBodyQT> for EventBodyOwned
impl From<EventBodyQT> for EventBodyOwned
source§fn from(body: EventBodyQT) -> Self
fn from(body: EventBodyQT) -> Self
source§impl From<FocusEvent> for EventBodyOwned
impl From<FocusEvent> for EventBodyOwned
source§fn from(_event: FocusEvent) -> Self
fn from(_event: FocusEvent) -> Self
source§impl From<LineChangedEvent> for EventBodyOwned
impl From<LineChangedEvent> for EventBodyOwned
source§fn from(_event: LineChangedEvent) -> Self
fn from(_event: LineChangedEvent) -> Self
source§impl From<LineCountChangedEvent> for EventBodyOwned
impl From<LineCountChangedEvent> for EventBodyOwned
source§fn from(_event: LineCountChangedEvent) -> Self
fn from(_event: LineCountChangedEvent) -> Self
source§impl From<LinkSelectedEvent> for EventBodyOwned
impl From<LinkSelectedEvent> for EventBodyOwned
source§fn from(_event: LinkSelectedEvent) -> Self
fn from(_event: LinkSelectedEvent) -> Self
source§impl From<LoadCompleteEvent> for EventBodyOwned
impl From<LoadCompleteEvent> for EventBodyOwned
source§fn from(_event: LoadCompleteEvent) -> Self
fn from(_event: LoadCompleteEvent) -> Self
source§impl From<LoadStoppedEvent> for EventBodyOwned
impl From<LoadStoppedEvent> for EventBodyOwned
source§fn from(_event: LoadStoppedEvent) -> Self
fn from(_event: LoadStoppedEvent) -> Self
source§impl From<LowerEvent> for EventBodyOwned
impl From<LowerEvent> for EventBodyOwned
source§fn from(_event: LowerEvent) -> Self
fn from(_event: LowerEvent) -> Self
source§impl From<MaximizeEvent> for EventBodyOwned
impl From<MaximizeEvent> for EventBodyOwned
source§fn from(_event: MaximizeEvent) -> Self
fn from(_event: MaximizeEvent) -> Self
source§impl From<MinimizeEvent> for EventBodyOwned
impl From<MinimizeEvent> for EventBodyOwned
source§fn from(_event: MinimizeEvent) -> Self
fn from(_event: MinimizeEvent) -> Self
source§impl From<ModelChangedEvent> for EventBodyOwned
impl From<ModelChangedEvent> for EventBodyOwned
source§fn from(_event: ModelChangedEvent) -> Self
fn from(_event: ModelChangedEvent) -> Self
source§impl From<ModifiersEvent> for EventBodyOwned
impl From<ModifiersEvent> for EventBodyOwned
source§fn from(event: ModifiersEvent) -> Self
fn from(event: ModifiersEvent) -> Self
source§impl From<MoveEvent> for EventBodyOwned
impl From<MoveEvent> for EventBodyOwned
source§impl From<PageChangedEvent> for EventBodyOwned
impl From<PageChangedEvent> for EventBodyOwned
source§fn from(_event: PageChangedEvent) -> Self
fn from(_event: PageChangedEvent) -> Self
source§impl From<PropertyChangeEvent> for EventBodyOwned
impl From<PropertyChangeEvent> for EventBodyOwned
source§fn from(event: PropertyChangeEvent) -> Self
fn from(event: PropertyChangeEvent) -> Self
source§impl From<PropertyChangeEvent> for EventBodyOwned
impl From<PropertyChangeEvent> for EventBodyOwned
source§fn from(event: PropertyChangeEvent) -> Self
fn from(event: PropertyChangeEvent) -> Self
source§impl From<RaiseEvent> for EventBodyOwned
impl From<RaiseEvent> for EventBodyOwned
source§fn from(_event: RaiseEvent) -> Self
fn from(_event: RaiseEvent) -> Self
source§impl From<RelEvent> for EventBodyOwned
impl From<RelEvent> for EventBodyOwned
source§impl From<ReloadEvent> for EventBodyOwned
impl From<ReloadEvent> for EventBodyOwned
source§fn from(_event: ReloadEvent) -> Self
fn from(_event: ReloadEvent) -> Self
source§impl From<ReparentEvent> for EventBodyOwned
impl From<ReparentEvent> for EventBodyOwned
source§fn from(_event: ReparentEvent) -> Self
fn from(_event: ReparentEvent) -> Self
source§impl From<ResizeEvent> for EventBodyOwned
impl From<ResizeEvent> for EventBodyOwned
source§fn from(_event: ResizeEvent) -> Self
fn from(_event: ResizeEvent) -> Self
source§impl From<RestoreEvent> for EventBodyOwned
impl From<RestoreEvent> for EventBodyOwned
source§fn from(_event: RestoreEvent) -> Self
fn from(_event: RestoreEvent) -> Self
source§impl From<RestyleEvent> for EventBodyOwned
impl From<RestyleEvent> for EventBodyOwned
source§fn from(_event: RestyleEvent) -> Self
fn from(_event: RestyleEvent) -> Self
source§impl From<RowDeletedEvent> for EventBodyOwned
impl From<RowDeletedEvent> for EventBodyOwned
source§fn from(_event: RowDeletedEvent) -> Self
fn from(_event: RowDeletedEvent) -> Self
source§impl From<RowInsertedEvent> for EventBodyOwned
impl From<RowInsertedEvent> for EventBodyOwned
source§fn from(_event: RowInsertedEvent) -> Self
fn from(_event: RowInsertedEvent) -> Self
source§impl From<RowReorderedEvent> for EventBodyOwned
impl From<RowReorderedEvent> for EventBodyOwned
source§fn from(_event: RowReorderedEvent) -> Self
fn from(_event: RowReorderedEvent) -> Self
source§impl From<SelectionChangedEvent> for EventBodyOwned
impl From<SelectionChangedEvent> for EventBodyOwned
source§fn from(_event: SelectionChangedEvent) -> Self
fn from(_event: SelectionChangedEvent) -> Self
source§impl From<ShadeEvent> for EventBodyOwned
impl From<ShadeEvent> for EventBodyOwned
source§fn from(_event: ShadeEvent) -> Self
fn from(_event: ShadeEvent) -> Self
source§impl From<StateChangedEvent> for EventBodyOwned
impl From<StateChangedEvent> for EventBodyOwned
source§fn from(event: StateChangedEvent) -> Self
fn from(event: StateChangedEvent) -> Self
source§impl From<TextAttributesChangedEvent> for EventBodyOwned
impl From<TextAttributesChangedEvent> for EventBodyOwned
source§fn from(_event: TextAttributesChangedEvent) -> Self
fn from(_event: TextAttributesChangedEvent) -> Self
source§impl From<TextBoundsChangedEvent> for EventBodyOwned
impl From<TextBoundsChangedEvent> for EventBodyOwned
source§fn from(_event: TextBoundsChangedEvent) -> Self
fn from(_event: TextBoundsChangedEvent) -> Self
source§impl From<TextCaretMovedEvent> for EventBodyOwned
impl From<TextCaretMovedEvent> for EventBodyOwned
source§fn from(event: TextCaretMovedEvent) -> Self
fn from(event: TextCaretMovedEvent) -> Self
source§impl From<TextChangedEvent> for EventBodyOwned
impl From<TextChangedEvent> for EventBodyOwned
source§fn from(event: TextChangedEvent) -> Self
fn from(event: TextChangedEvent) -> Self
source§impl From<TextSelectionChangedEvent> for EventBodyOwned
impl From<TextSelectionChangedEvent> for EventBodyOwned
source§fn from(_event: TextSelectionChangedEvent) -> Self
fn from(_event: TextSelectionChangedEvent) -> Self
source§impl From<UUshadeEvent> for EventBodyOwned
impl From<UUshadeEvent> for EventBodyOwned
source§fn from(_event: UUshadeEvent) -> Self
fn from(_event: UUshadeEvent) -> Self
source§impl From<VisibleDataChangedEvent> for EventBodyOwned
impl From<VisibleDataChangedEvent> for EventBodyOwned
source§fn from(_event: VisibleDataChangedEvent) -> Self
fn from(_event: VisibleDataChangedEvent) -> Self
source§impl PartialEq for EventBodyOwned
impl PartialEq for EventBodyOwned
source§fn eq(&self, other: &EventBodyOwned) -> bool
fn eq(&self, other: &EventBodyOwned) -> bool
self
and other
values to be equal, and is used
by ==
.