Struct atspi_proxies::events::EventBodyOwned
source · pub struct EventBodyOwned {
pub kind: String,
pub detail1: i32,
pub detail2: i32,
pub any_data: OwnedValue,
pub properties: HashMap<String, OwnedValue, RandomState>,
}
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<String, OwnedValue, RandomState>
A map of properties. Not in use.
Trait Implementations§
source§impl Clone for EventBodyOwned
impl Clone for EventBodyOwned
source§fn clone(&self) -> EventBodyOwned
fn clone(&self) -> EventBodyOwned
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 EventBodyOwned
impl Debug for EventBodyOwned
source§impl Default for EventBodyOwned
impl Default for EventBodyOwned
source§fn default() -> EventBodyOwned
fn default() -> EventBodyOwned
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EventBodyOwned
impl<'de> Deserialize<'de> for EventBodyOwned
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<EventBodyOwned, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<EventBodyOwned, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<AbsEvent> for EventBodyOwned
impl From<AbsEvent> for EventBodyOwned
source§fn from(event: AbsEvent) -> EventBodyOwned
fn from(event: AbsEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<ActivateEvent> for EventBodyOwned
impl From<ActivateEvent> for EventBodyOwned
source§fn from(_event: ActivateEvent) -> EventBodyOwned
fn from(_event: ActivateEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<ActiveDescendantChangedEvent> for EventBodyOwned
impl From<ActiveDescendantChangedEvent> for EventBodyOwned
source§fn from(event: ActiveDescendantChangedEvent) -> EventBodyOwned
fn from(event: ActiveDescendantChangedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<AnnouncementEvent> for EventBodyOwned
impl From<AnnouncementEvent> for EventBodyOwned
source§fn from(event: AnnouncementEvent) -> EventBodyOwned
fn from(event: AnnouncementEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<ApplicationChangedEvent> for EventBodyOwned
impl From<ApplicationChangedEvent> for EventBodyOwned
source§fn from(_event: ApplicationChangedEvent) -> EventBodyOwned
fn from(_event: ApplicationChangedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<AttributesChangedEvent> for EventBodyOwned
impl From<AttributesChangedEvent> for EventBodyOwned
source§fn from(_event: AttributesChangedEvent) -> EventBodyOwned
fn from(_event: AttributesChangedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<AttributesChangedEvent> for EventBodyOwned
impl From<AttributesChangedEvent> for EventBodyOwned
source§fn from(_event: AttributesChangedEvent) -> EventBodyOwned
fn from(_event: AttributesChangedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<BoundsChangedEvent> for EventBodyOwned
impl From<BoundsChangedEvent> for EventBodyOwned
source§fn from(_event: BoundsChangedEvent) -> EventBodyOwned
fn from(_event: BoundsChangedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<ButtonEvent> for EventBodyOwned
impl From<ButtonEvent> for EventBodyOwned
source§fn from(event: ButtonEvent) -> EventBodyOwned
fn from(event: ButtonEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<CharWidthChangedEvent> for EventBodyOwned
impl From<CharWidthChangedEvent> for EventBodyOwned
source§fn from(_event: CharWidthChangedEvent) -> EventBodyOwned
fn from(_event: CharWidthChangedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<ChildrenChangedEvent> for EventBodyOwned
impl From<ChildrenChangedEvent> for EventBodyOwned
source§fn from(event: ChildrenChangedEvent) -> EventBodyOwned
fn from(event: ChildrenChangedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<CloseEvent> for EventBodyOwned
impl From<CloseEvent> for EventBodyOwned
source§fn from(_event: CloseEvent) -> EventBodyOwned
fn from(_event: CloseEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<ColumnCountChangedEvent> for EventBodyOwned
impl From<ColumnCountChangedEvent> for EventBodyOwned
source§fn from(_event: ColumnCountChangedEvent) -> EventBodyOwned
fn from(_event: ColumnCountChangedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<ColumnDeletedEvent> for EventBodyOwned
impl From<ColumnDeletedEvent> for EventBodyOwned
source§fn from(_event: ColumnDeletedEvent) -> EventBodyOwned
fn from(_event: ColumnDeletedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<ColumnInsertedEvent> for EventBodyOwned
impl From<ColumnInsertedEvent> for EventBodyOwned
source§fn from(_event: ColumnInsertedEvent) -> EventBodyOwned
fn from(_event: ColumnInsertedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<ColumnReorderedEvent> for EventBodyOwned
impl From<ColumnReorderedEvent> for EventBodyOwned
source§fn from(_event: ColumnReorderedEvent) -> EventBodyOwned
fn from(_event: ColumnReorderedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<ContentChangedEvent> for EventBodyOwned
impl From<ContentChangedEvent> for EventBodyOwned
source§fn from(_event: ContentChangedEvent) -> EventBodyOwned
fn from(_event: ContentChangedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<CreateEvent> for EventBodyOwned
impl From<CreateEvent> for EventBodyOwned
source§fn from(_event: CreateEvent) -> EventBodyOwned
fn from(_event: CreateEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<DeactivateEvent> for EventBodyOwned
impl From<DeactivateEvent> for EventBodyOwned
source§fn from(_event: DeactivateEvent) -> EventBodyOwned
fn from(_event: DeactivateEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<DesktopCreateEvent> for EventBodyOwned
impl From<DesktopCreateEvent> for EventBodyOwned
source§fn from(_event: DesktopCreateEvent) -> EventBodyOwned
fn from(_event: DesktopCreateEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<DesktopDestroyEvent> for EventBodyOwned
impl From<DesktopDestroyEvent> for EventBodyOwned
source§fn from(_event: DesktopDestroyEvent) -> EventBodyOwned
fn from(_event: DesktopDestroyEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<DestroyEvent> for EventBodyOwned
impl From<DestroyEvent> for EventBodyOwned
source§fn from(_event: DestroyEvent) -> EventBodyOwned
fn from(_event: DestroyEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<EventBodyQT> for EventBodyOwned
impl From<EventBodyQT> for EventBodyOwned
source§fn from(body: EventBodyQT) -> EventBodyOwned
fn from(body: EventBodyQT) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<FocusEvent> for EventBodyOwned
impl From<FocusEvent> for EventBodyOwned
source§fn from(_event: FocusEvent) -> EventBodyOwned
fn from(_event: FocusEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<LineChangedEvent> for EventBodyOwned
impl From<LineChangedEvent> for EventBodyOwned
source§fn from(_event: LineChangedEvent) -> EventBodyOwned
fn from(_event: LineChangedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<LineCountChangedEvent> for EventBodyOwned
impl From<LineCountChangedEvent> for EventBodyOwned
source§fn from(_event: LineCountChangedEvent) -> EventBodyOwned
fn from(_event: LineCountChangedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<LinkSelectedEvent> for EventBodyOwned
impl From<LinkSelectedEvent> for EventBodyOwned
source§fn from(_event: LinkSelectedEvent) -> EventBodyOwned
fn from(_event: LinkSelectedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<LoadCompleteEvent> for EventBodyOwned
impl From<LoadCompleteEvent> for EventBodyOwned
source§fn from(_event: LoadCompleteEvent) -> EventBodyOwned
fn from(_event: LoadCompleteEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<LoadStoppedEvent> for EventBodyOwned
impl From<LoadStoppedEvent> for EventBodyOwned
source§fn from(_event: LoadStoppedEvent) -> EventBodyOwned
fn from(_event: LoadStoppedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<LowerEvent> for EventBodyOwned
impl From<LowerEvent> for EventBodyOwned
source§fn from(_event: LowerEvent) -> EventBodyOwned
fn from(_event: LowerEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<MaximizeEvent> for EventBodyOwned
impl From<MaximizeEvent> for EventBodyOwned
source§fn from(_event: MaximizeEvent) -> EventBodyOwned
fn from(_event: MaximizeEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<MinimizeEvent> for EventBodyOwned
impl From<MinimizeEvent> for EventBodyOwned
source§fn from(_event: MinimizeEvent) -> EventBodyOwned
fn from(_event: MinimizeEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<ModelChangedEvent> for EventBodyOwned
impl From<ModelChangedEvent> for EventBodyOwned
source§fn from(_event: ModelChangedEvent) -> EventBodyOwned
fn from(_event: ModelChangedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<ModifiersEvent> for EventBodyOwned
impl From<ModifiersEvent> for EventBodyOwned
source§fn from(event: ModifiersEvent) -> EventBodyOwned
fn from(event: ModifiersEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<MoveEvent> for EventBodyOwned
impl From<MoveEvent> for EventBodyOwned
source§fn from(_event: MoveEvent) -> EventBodyOwned
fn from(_event: MoveEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<PageChangedEvent> for EventBodyOwned
impl From<PageChangedEvent> for EventBodyOwned
source§fn from(_event: PageChangedEvent) -> EventBodyOwned
fn from(_event: PageChangedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<PropertyChangeEvent> for EventBodyOwned
impl From<PropertyChangeEvent> for EventBodyOwned
source§fn from(event: PropertyChangeEvent) -> EventBodyOwned
fn from(event: PropertyChangeEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<PropertyChangeEvent> for EventBodyOwned
impl From<PropertyChangeEvent> for EventBodyOwned
source§fn from(event: PropertyChangeEvent) -> EventBodyOwned
fn from(event: PropertyChangeEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<RaiseEvent> for EventBodyOwned
impl From<RaiseEvent> for EventBodyOwned
source§fn from(_event: RaiseEvent) -> EventBodyOwned
fn from(_event: RaiseEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<RelEvent> for EventBodyOwned
impl From<RelEvent> for EventBodyOwned
source§fn from(event: RelEvent) -> EventBodyOwned
fn from(event: RelEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<ReloadEvent> for EventBodyOwned
impl From<ReloadEvent> for EventBodyOwned
source§fn from(_event: ReloadEvent) -> EventBodyOwned
fn from(_event: ReloadEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<ReparentEvent> for EventBodyOwned
impl From<ReparentEvent> for EventBodyOwned
source§fn from(_event: ReparentEvent) -> EventBodyOwned
fn from(_event: ReparentEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<ResizeEvent> for EventBodyOwned
impl From<ResizeEvent> for EventBodyOwned
source§fn from(_event: ResizeEvent) -> EventBodyOwned
fn from(_event: ResizeEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<RestoreEvent> for EventBodyOwned
impl From<RestoreEvent> for EventBodyOwned
source§fn from(_event: RestoreEvent) -> EventBodyOwned
fn from(_event: RestoreEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<RestyleEvent> for EventBodyOwned
impl From<RestyleEvent> for EventBodyOwned
source§fn from(_event: RestyleEvent) -> EventBodyOwned
fn from(_event: RestyleEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<RowDeletedEvent> for EventBodyOwned
impl From<RowDeletedEvent> for EventBodyOwned
source§fn from(_event: RowDeletedEvent) -> EventBodyOwned
fn from(_event: RowDeletedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<RowInsertedEvent> for EventBodyOwned
impl From<RowInsertedEvent> for EventBodyOwned
source§fn from(_event: RowInsertedEvent) -> EventBodyOwned
fn from(_event: RowInsertedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<RowReorderedEvent> for EventBodyOwned
impl From<RowReorderedEvent> for EventBodyOwned
source§fn from(_event: RowReorderedEvent) -> EventBodyOwned
fn from(_event: RowReorderedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<SelectionChangedEvent> for EventBodyOwned
impl From<SelectionChangedEvent> for EventBodyOwned
source§fn from(_event: SelectionChangedEvent) -> EventBodyOwned
fn from(_event: SelectionChangedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<ShadeEvent> for EventBodyOwned
impl From<ShadeEvent> for EventBodyOwned
source§fn from(_event: ShadeEvent) -> EventBodyOwned
fn from(_event: ShadeEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<StateChangedEvent> for EventBodyOwned
impl From<StateChangedEvent> for EventBodyOwned
source§fn from(event: StateChangedEvent) -> EventBodyOwned
fn from(event: StateChangedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<TextAttributesChangedEvent> for EventBodyOwned
impl From<TextAttributesChangedEvent> for EventBodyOwned
source§fn from(_event: TextAttributesChangedEvent) -> EventBodyOwned
fn from(_event: TextAttributesChangedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<TextBoundsChangedEvent> for EventBodyOwned
impl From<TextBoundsChangedEvent> for EventBodyOwned
source§fn from(_event: TextBoundsChangedEvent) -> EventBodyOwned
fn from(_event: TextBoundsChangedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<TextCaretMovedEvent> for EventBodyOwned
impl From<TextCaretMovedEvent> for EventBodyOwned
source§fn from(event: TextCaretMovedEvent) -> EventBodyOwned
fn from(event: TextCaretMovedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<TextChangedEvent> for EventBodyOwned
impl From<TextChangedEvent> for EventBodyOwned
source§fn from(event: TextChangedEvent) -> EventBodyOwned
fn from(event: TextChangedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<TextSelectionChangedEvent> for EventBodyOwned
impl From<TextSelectionChangedEvent> for EventBodyOwned
source§fn from(_event: TextSelectionChangedEvent) -> EventBodyOwned
fn from(_event: TextSelectionChangedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<UUshadeEvent> for EventBodyOwned
impl From<UUshadeEvent> for EventBodyOwned
source§fn from(_event: UUshadeEvent) -> EventBodyOwned
fn from(_event: UUshadeEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl From<VisibleDataChangedEvent> for EventBodyOwned
impl From<VisibleDataChangedEvent> for EventBodyOwned
source§fn from(_event: VisibleDataChangedEvent) -> EventBodyOwned
fn from(_event: VisibleDataChangedEvent) -> EventBodyOwned
Converts to this type from the input type.
source§impl PartialEq<EventBodyOwned> for EventBodyOwned
impl PartialEq<EventBodyOwned> for EventBodyOwned
source§fn eq(&self, other: &EventBodyOwned) -> bool
fn eq(&self, other: &EventBodyOwned) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EventBodyOwned
impl Serialize for EventBodyOwned
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl TryFrom<&Message> for EventBodyOwned
impl TryFrom<&Message> for EventBodyOwned
§type Error = AtspiError
type Error = AtspiError
The type returned in the event of a conversion error.
source§fn try_from(
message: &Message
) -> Result<EventBodyOwned, <EventBodyOwned as TryFrom<&Message>>::Error>
fn try_from( message: &Message ) -> Result<EventBodyOwned, <EventBodyOwned as TryFrom<&Message>>::Error>
Performs the conversion.
source§impl TryFrom<EventBodyOwned> for Property
impl TryFrom<EventBodyOwned> for Property
§type Error = AtspiError
type Error = AtspiError
The type returned in the event of a conversion error.
source§fn try_from(
body: EventBodyOwned
) -> Result<Property, <Property as TryFrom<EventBodyOwned>>::Error>
fn try_from( body: EventBodyOwned ) -> Result<Property, <Property as TryFrom<EventBodyOwned>>::Error>
Performs the conversion.
source§impl Type for EventBodyOwned
impl Type for EventBodyOwned
impl StructuralPartialEq for EventBodyOwned
Auto Trait Implementations§
impl RefUnwindSafe for EventBodyOwned
impl Send for EventBodyOwned
impl Sync for EventBodyOwned
impl Unpin for EventBodyOwned
impl UnwindSafe for EventBodyOwned
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
§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de> + ?Sized,
impl<'de, T> DynamicDeserialize<'de> for Twhere T: Type + Deserialize<'de> + ?Sized,
§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
§impl<T> DynamicType for Twhere
T: Type + ?Sized,
impl<T> DynamicType for Twhere T: Type + ?Sized,
§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.