pub struct LinuxProvider { /* private fields */ }Expand description
Linux accessibility provider using AT-SPI2 over D-Bus.
Implementations§
Trait Implementations§
Source§impl Provider for LinuxProvider
impl Provider for LinuxProvider
Source§fn resolve_pid_by_name(&self, name: &str) -> Result<u32>
fn resolve_pid_by_name(&self, name: &str) -> Result<u32>
Resolve an application name to a PID. Read more
Source§fn get_tree(&self, pid: u32) -> Result<Tree>
fn get_tree(&self, pid: u32) -> Result<Tree>
Snapshot a specific application’s accessibility tree by PID.
Source§fn perform_action(
&self,
tree: &Tree,
element: &ElementData,
action: Action,
data: Option<ActionData>,
) -> Result<()>
fn perform_action( &self, tree: &Tree, element: &ElementData, action: Action, data: Option<ActionData>, ) -> Result<()>
Perform an action on an element from a specific snapshot. Read more
Source§fn check_permissions(&self) -> Result<PermissionStatus>
fn check_permissions(&self) -> Result<PermissionStatus>
Check if accessibility permissions are granted.
Auto Trait Implementations§
impl !Freeze for LinuxProvider
impl !RefUnwindSafe for LinuxProvider
impl Send for LinuxProvider
impl Sync for LinuxProvider
impl Unpin for LinuxProvider
impl UnsafeUnpin for LinuxProvider
impl !UnwindSafe for LinuxProvider
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