atspi_proxies/
hypertext.rs

1//! # `DBus` interface proxy for: `org.a11y.atspi.Hypertext`
2//!
3//! This code was generated by `zbus-xmlgen` `2.0.1` from `DBus` introspection data.
4//! Source: `Hypertext.xml`.
5//!
6//! You may prefer to adapt it, instead of using it verbatim.
7//!
8//! More information can be found in the
9//! [Writing a client proxy](https://dbus.pages.freedesktop.org/zbus/client.html)
10//! section of the zbus documentation.
11//!
12
13use crate::atspi_proxy;
14use crate::common::Accessible;
15
16#[atspi_proxy(interface = "org.a11y.atspi.Hypertext", assume_defaults = true)]
17trait Hypertext {
18	/// GetLink method
19	fn get_link(&self, link_index: i32) -> zbus::Result<Accessible>;
20
21	/// GetLinkIndex method
22	fn get_link_index(&self, character_index: i32) -> zbus::Result<i32>;
23
24	/// GetNLinks method
25	fn get_nlinks(&self) -> zbus::Result<i32>;
26}