pub struct ObjectRef {
pub name: OwnedUniqueName,
pub path: OwnedObjectPath,
}
Expand description
ObjectRef
type
A ubiquitous type used to refer to an object in the accessibility tree.
In AT-SPI2, objects in the applications’ UI object tree are uniquely identified using a server name and object path. “(so)”
Emitted by RemoveAccessible
and Available
Fields§
§name: OwnedUniqueName
§path: OwnedObjectPath
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ObjectRef
impl<'de> Deserialize<'de> for ObjectRef
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ObjectRef, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ObjectRef, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl ObjectRefExt for ObjectRef
impl ObjectRefExt for ObjectRef
Source§async fn as_accessible_proxy(
&self,
conn: &Connection,
) -> Result<AccessibleProxy<'_>, Error>
async fn as_accessible_proxy( &self, conn: &Connection, ) -> Result<AccessibleProxy<'_>, Error>
Source§impl Serialize for ObjectRef
impl Serialize for ObjectRef
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<&AccessibleProxy<'_>> for ObjectRef
impl TryFrom<&AccessibleProxy<'_>> for ObjectRef
Source§type Error = AtspiError
type Error = AtspiError
The type returned in the event of a conversion error.
Source§fn try_from(
proxy: &AccessibleProxy<'_>,
) -> Result<ObjectRef, <ObjectRef as TryFrom<&AccessibleProxy<'_>>>::Error>
fn try_from( proxy: &AccessibleProxy<'_>, ) -> Result<ObjectRef, <ObjectRef as TryFrom<&AccessibleProxy<'_>>>::Error>
Performs the conversion.
Source§impl TryFrom<AccessibleProxy<'_>> for ObjectRef
impl TryFrom<AccessibleProxy<'_>> for ObjectRef
Source§type Error = AtspiError
type Error = AtspiError
The type returned in the event of a conversion error.
Source§fn try_from(
proxy: AccessibleProxy<'_>,
) -> Result<ObjectRef, <ObjectRef as TryFrom<AccessibleProxy<'_>>>::Error>
fn try_from( proxy: AccessibleProxy<'_>, ) -> Result<ObjectRef, <ObjectRef as TryFrom<AccessibleProxy<'_>>>::Error>
Performs the conversion.
Source§impl TryFrom<OwnedValue> for ObjectRef
impl TryFrom<OwnedValue> for ObjectRef
impl Eq for ObjectRef
impl StructuralPartialEq for ObjectRef
Auto Trait Implementations§
impl Freeze for ObjectRef
impl RefUnwindSafe for ObjectRef
impl Send for ObjectRef
impl Sync for ObjectRef
impl Unpin for ObjectRef
impl UnwindSafe for ObjectRef
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'de, T> DynamicDeserialize<'de> for T
impl<'de, T> DynamicDeserialize<'de> for T
Source§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>
fn deserializer_for_signature<S>( signature: S, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this signature.
Source§impl<T> DynamicType for T
impl<T> DynamicType for T
Source§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more