Enum RawPlatformData
pub enum RawPlatformData {
MacOS {
ax_role: String,
ax_subrole: Option<String>,
ax_identifier: Option<String>,
},
Windows {
control_type_id: i32,
automation_id: Option<String>,
class_name: Option<String>,
},
Linux {
atspi_role: String,
bus_name: String,
object_path: String,
},
Synthetic,
}Expand description
Platform-specific raw data attached to every node.
Variants§
Trait Implementations§
§impl Clone for RawPlatformData
impl Clone for RawPlatformData
§fn clone(&self) -> RawPlatformData
fn clone(&self) -> RawPlatformData
Returns a duplicate 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 more§impl Debug for RawPlatformData
impl Debug for RawPlatformData
§impl<'de> Deserialize<'de> for RawPlatformData
impl<'de> Deserialize<'de> for RawPlatformData
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RawPlatformData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RawPlatformData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for RawPlatformData
impl Serialize for RawPlatformData
§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
Auto Trait Implementations§
impl Freeze for RawPlatformData
impl RefUnwindSafe for RawPlatformData
impl Send for RawPlatformData
impl Sync for RawPlatformData
impl Unpin for RawPlatformData
impl UnwindSafe for RawPlatformData
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