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<String, 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<String, OwnedValue>
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§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>,
Deserialize this value from the given Serde deserializer. Read more
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
Converts to this type from the input type.
source§impl From<ActiveDescendantChangedEvent> for EventBodyOwned
impl From<ActiveDescendantChangedEvent> for EventBodyOwned
source§fn from(event: ActiveDescendantChangedEvent) -> Self
fn from(event: ActiveDescendantChangedEvent) -> Self
Converts to this type from the input type.
source§impl From<AnnouncementEvent> for EventBodyOwned
impl From<AnnouncementEvent> for EventBodyOwned
source§fn from(event: AnnouncementEvent) -> Self
fn from(event: AnnouncementEvent) -> Self
Converts to this type from the input type.
source§impl From<ApplicationChangedEvent> for EventBodyOwned
impl From<ApplicationChangedEvent> for EventBodyOwned
source§fn from(_event: ApplicationChangedEvent) -> Self
fn from(_event: ApplicationChangedEvent) -> Self
Converts to this type from the input type.
source§impl From<AttributesChangedEvent> for EventBodyOwned
impl From<AttributesChangedEvent> for EventBodyOwned
source§fn from(_event: AttributesChangedEvent) -> Self
fn from(_event: AttributesChangedEvent) -> Self
Converts to this type from the input type.
source§impl From<AttributesChangedEvent> for EventBodyOwned
impl From<AttributesChangedEvent> for EventBodyOwned
source§fn from(_event: AttributesChangedEvent) -> Self
fn from(_event: AttributesChangedEvent) -> Self
Converts to this type from the input type.
source§impl From<BoundsChangedEvent> for EventBodyOwned
impl From<BoundsChangedEvent> for EventBodyOwned
source§fn from(_event: BoundsChangedEvent) -> Self
fn from(_event: BoundsChangedEvent) -> Self
Converts to this type from the input type.
source§impl From<ButtonEvent> for EventBodyOwned
impl From<ButtonEvent> for EventBodyOwned
source§fn from(event: ButtonEvent) -> Self
fn from(event: ButtonEvent) -> Self
Converts to this type from the input type.
source§impl From<CharWidthChangedEvent> for EventBodyOwned
impl From<CharWidthChangedEvent> for EventBodyOwned
source§fn from(_event: CharWidthChangedEvent) -> Self
fn from(_event: CharWidthChangedEvent) -> Self
Converts to this type from the input type.
source§impl From<ChildrenChangedEvent> for EventBodyOwned
impl From<ChildrenChangedEvent> for EventBodyOwned
source§fn from(event: ChildrenChangedEvent) -> Self
fn from(event: ChildrenChangedEvent) -> Self
Converts to this type from the input type.
source§impl From<CloseEvent> for EventBodyOwned
impl From<CloseEvent> for EventBodyOwned
source§fn from(_event: CloseEvent) -> Self
fn from(_event: CloseEvent) -> Self
Converts to this type from the input type.
source§impl From<ColumnCountChangedEvent> for EventBodyOwned
impl From<ColumnCountChangedEvent> for EventBodyOwned
source§fn from(_event: ColumnCountChangedEvent) -> Self
fn from(_event: ColumnCountChangedEvent) -> Self
Converts to this type from the input type.
source§impl From<ColumnDeletedEvent> for EventBodyOwned
impl From<ColumnDeletedEvent> for EventBodyOwned
source§fn from(_event: ColumnDeletedEvent) -> Self
fn from(_event: ColumnDeletedEvent) -> Self
Converts to this type from the input type.
source§impl From<ColumnInsertedEvent> for EventBodyOwned
impl From<ColumnInsertedEvent> for EventBodyOwned
source§fn from(_event: ColumnInsertedEvent) -> Self
fn from(_event: ColumnInsertedEvent) -> Self
Converts to this type from the input type.
source§impl From<ColumnReorderedEvent> for EventBodyOwned
impl From<ColumnReorderedEvent> for EventBodyOwned
source§fn from(_event: ColumnReorderedEvent) -> Self
fn from(_event: ColumnReorderedEvent) -> Self
Converts to this type from the input type.
source§impl From<ContentChangedEvent> for EventBodyOwned
impl From<ContentChangedEvent> for EventBodyOwned
source§fn from(_event: ContentChangedEvent) -> Self
fn from(_event: ContentChangedEvent) -> Self
Converts to this type from the input type.
source§impl From<CreateEvent> for EventBodyOwned
impl From<CreateEvent> for EventBodyOwned
source§fn from(_event: CreateEvent) -> Self
fn from(_event: CreateEvent) -> Self
Converts to this type from the input type.
source§impl From<DeactivateEvent> for EventBodyOwned
impl From<DeactivateEvent> for EventBodyOwned
source§fn from(_event: DeactivateEvent) -> Self
fn from(_event: DeactivateEvent) -> Self
Converts to this type from the input type.
source§impl From<DesktopCreateEvent> for EventBodyOwned
impl From<DesktopCreateEvent> for EventBodyOwned
source§fn from(_event: DesktopCreateEvent) -> Self
fn from(_event: DesktopCreateEvent) -> Self
Converts to this type from the input type.
source§impl From<DesktopDestroyEvent> for EventBodyOwned
impl From<DesktopDestroyEvent> for EventBodyOwned
source§fn from(_event: DesktopDestroyEvent) -> Self
fn from(_event: DesktopDestroyEvent) -> Self
Converts to this type from the input type.
source§impl From<DestroyEvent> for EventBodyOwned
impl From<DestroyEvent> for EventBodyOwned
source§fn from(_event: DestroyEvent) -> Self
fn from(_event: DestroyEvent) -> Self
Converts to this type from the input type.
source§impl From<EventBodyQT> for EventBodyOwned
impl From<EventBodyQT> for EventBodyOwned
source§fn from(body: EventBodyQT) -> Self
fn from(body: EventBodyQT) -> Self
Converts to this type from the input type.
source§impl From<FocusEvent> for EventBodyOwned
impl From<FocusEvent> for EventBodyOwned
source§fn from(_event: FocusEvent) -> Self
fn from(_event: FocusEvent) -> Self
Converts to this type from the input type.
source§impl From<LineChangedEvent> for EventBodyOwned
impl From<LineChangedEvent> for EventBodyOwned
source§fn from(_event: LineChangedEvent) -> Self
fn from(_event: LineChangedEvent) -> Self
Converts to this type from the input type.
source§impl From<LineCountChangedEvent> for EventBodyOwned
impl From<LineCountChangedEvent> for EventBodyOwned
source§fn from(_event: LineCountChangedEvent) -> Self
fn from(_event: LineCountChangedEvent) -> Self
Converts to this type from the input type.
source§impl From<LinkSelectedEvent> for EventBodyOwned
impl From<LinkSelectedEvent> for EventBodyOwned
source§fn from(_event: LinkSelectedEvent) -> Self
fn from(_event: LinkSelectedEvent) -> Self
Converts to this type from the input type.
source§impl From<LoadCompleteEvent> for EventBodyOwned
impl From<LoadCompleteEvent> for EventBodyOwned
source§fn from(_event: LoadCompleteEvent) -> Self
fn from(_event: LoadCompleteEvent) -> Self
Converts to this type from the input type.
source§impl From<LoadStoppedEvent> for EventBodyOwned
impl From<LoadStoppedEvent> for EventBodyOwned
source§fn from(_event: LoadStoppedEvent) -> Self
fn from(_event: LoadStoppedEvent) -> Self
Converts to this type from the input type.
source§impl From<LowerEvent> for EventBodyOwned
impl From<LowerEvent> for EventBodyOwned
source§fn from(_event: LowerEvent) -> Self
fn from(_event: LowerEvent) -> Self
Converts to this type from the input type.
source§impl From<MaximizeEvent> for EventBodyOwned
impl From<MaximizeEvent> for EventBodyOwned
source§fn from(_event: MaximizeEvent) -> Self
fn from(_event: MaximizeEvent) -> Self
Converts to this type from the input type.
source§impl From<MinimizeEvent> for EventBodyOwned
impl From<MinimizeEvent> for EventBodyOwned
source§fn from(_event: MinimizeEvent) -> Self
fn from(_event: MinimizeEvent) -> Self
Converts to this type from the input type.
source§impl From<ModelChangedEvent> for EventBodyOwned
impl From<ModelChangedEvent> for EventBodyOwned
source§fn from(_event: ModelChangedEvent) -> Self
fn from(_event: ModelChangedEvent) -> Self
Converts to this type from the input type.
source§impl From<ModifiersEvent> for EventBodyOwned
impl From<ModifiersEvent> for EventBodyOwned
source§fn from(event: ModifiersEvent) -> Self
fn from(event: ModifiersEvent) -> Self
Converts to this type from the input type.
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
Converts to this type from the input type.
source§impl From<PropertyChangeEvent> for EventBodyOwned
impl From<PropertyChangeEvent> for EventBodyOwned
source§fn from(event: PropertyChangeEvent) -> Self
fn from(event: PropertyChangeEvent) -> Self
Converts to this type from the input type.
source§impl From<PropertyChangeEvent> for EventBodyOwned
impl From<PropertyChangeEvent> for EventBodyOwned
source§fn from(event: PropertyChangeEvent) -> Self
fn from(event: PropertyChangeEvent) -> Self
Converts to this type from the input type.
source§impl From<RaiseEvent> for EventBodyOwned
impl From<RaiseEvent> for EventBodyOwned
source§fn from(_event: RaiseEvent) -> Self
fn from(_event: RaiseEvent) -> Self
Converts to this type from the input type.
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
Converts to this type from the input type.
source§impl From<ReparentEvent> for EventBodyOwned
impl From<ReparentEvent> for EventBodyOwned
source§fn from(_event: ReparentEvent) -> Self
fn from(_event: ReparentEvent) -> Self
Converts to this type from the input type.
source§impl From<ResizeEvent> for EventBodyOwned
impl From<ResizeEvent> for EventBodyOwned
source§fn from(_event: ResizeEvent) -> Self
fn from(_event: ResizeEvent) -> Self
Converts to this type from the input type.
source§impl From<RestoreEvent> for EventBodyOwned
impl From<RestoreEvent> for EventBodyOwned
source§fn from(_event: RestoreEvent) -> Self
fn from(_event: RestoreEvent) -> Self
Converts to this type from the input type.
source§impl From<RestyleEvent> for EventBodyOwned
impl From<RestyleEvent> for EventBodyOwned
source§fn from(_event: RestyleEvent) -> Self
fn from(_event: RestyleEvent) -> Self
Converts to this type from the input type.
source§impl From<RowDeletedEvent> for EventBodyOwned
impl From<RowDeletedEvent> for EventBodyOwned
source§fn from(_event: RowDeletedEvent) -> Self
fn from(_event: RowDeletedEvent) -> Self
Converts to this type from the input type.
source§impl From<RowInsertedEvent> for EventBodyOwned
impl From<RowInsertedEvent> for EventBodyOwned
source§fn from(_event: RowInsertedEvent) -> Self
fn from(_event: RowInsertedEvent) -> Self
Converts to this type from the input type.
source§impl From<RowReorderedEvent> for EventBodyOwned
impl From<RowReorderedEvent> for EventBodyOwned
source§fn from(_event: RowReorderedEvent) -> Self
fn from(_event: RowReorderedEvent) -> Self
Converts to this type from the input type.
source§impl From<SelectionChangedEvent> for EventBodyOwned
impl From<SelectionChangedEvent> for EventBodyOwned
source§fn from(_event: SelectionChangedEvent) -> Self
fn from(_event: SelectionChangedEvent) -> Self
Converts to this type from the input type.
source§impl From<ShadeEvent> for EventBodyOwned
impl From<ShadeEvent> for EventBodyOwned
source§fn from(_event: ShadeEvent) -> Self
fn from(_event: ShadeEvent) -> Self
Converts to this type from the input type.
source§impl From<StateChangedEvent> for EventBodyOwned
impl From<StateChangedEvent> for EventBodyOwned
source§fn from(event: StateChangedEvent) -> Self
fn from(event: StateChangedEvent) -> Self
Converts to this type from the input type.
source§impl From<TextAttributesChangedEvent> for EventBodyOwned
impl From<TextAttributesChangedEvent> for EventBodyOwned
source§fn from(_event: TextAttributesChangedEvent) -> Self
fn from(_event: TextAttributesChangedEvent) -> Self
Converts to this type from the input type.
source§impl From<TextBoundsChangedEvent> for EventBodyOwned
impl From<TextBoundsChangedEvent> for EventBodyOwned
source§fn from(_event: TextBoundsChangedEvent) -> Self
fn from(_event: TextBoundsChangedEvent) -> Self
Converts to this type from the input type.
source§impl From<TextCaretMovedEvent> for EventBodyOwned
impl From<TextCaretMovedEvent> for EventBodyOwned
source§fn from(event: TextCaretMovedEvent) -> Self
fn from(event: TextCaretMovedEvent) -> Self
Converts to this type from the input type.
source§impl From<TextChangedEvent> for EventBodyOwned
impl From<TextChangedEvent> for EventBodyOwned
source§fn from(event: TextChangedEvent) -> Self
fn from(event: TextChangedEvent) -> Self
Converts to this type from the input type.
source§impl From<TextSelectionChangedEvent> for EventBodyOwned
impl From<TextSelectionChangedEvent> for EventBodyOwned
source§fn from(_event: TextSelectionChangedEvent) -> Self
fn from(_event: TextSelectionChangedEvent) -> Self
Converts to this type from the input type.
source§impl From<UUshadeEvent> for EventBodyOwned
impl From<UUshadeEvent> for EventBodyOwned
source§fn from(_event: UUshadeEvent) -> Self
fn from(_event: UUshadeEvent) -> Self
Converts to this type from the input type.
source§impl From<VisibleDataChangedEvent> for EventBodyOwned
impl From<VisibleDataChangedEvent> for EventBodyOwned
source§fn from(_event: VisibleDataChangedEvent) -> Self
fn from(_event: VisibleDataChangedEvent) -> Self
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§impl TryFrom<&Message> for EventBodyOwned
impl TryFrom<&Message> for EventBodyOwned
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§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
source§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.
source§fn deserializer_for_signature<S>(
signature: S
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>where
S: TryInto<Signature<'de>>,
<S as TryInto<Signature<'de>>>::Error: Into<Error>,
fn deserializer_for_signature<S>( signature: S ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>where S: TryInto<Signature<'de>>, <S as TryInto<Signature<'de>>>::Error: Into<Error>,
Get a deserializer compatible with this signature.
source§impl<T> DynamicType for Twhere
T: Type + ?Sized,
impl<T> DynamicType for Twhere T: Type + ?Sized,
source§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>
source§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere T: Default,
type NoneType = T
source§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.