atspi_proxies/
hyperlink.rs

1//! # `DBus` interface proxy for: `org.a11y.atspi.Hyperlink`
2//!
3//! This code was generated by `zbus-xmlgen` `2.0.1` from `DBus` introspection data.
4//! Source: `Hyperlink.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.Hyperlink", assume_defaults = true)]
17trait Hyperlink {
18	/// GetObject method
19	fn get_object(&self, i: i32) -> zbus::Result<Accessible>;
20
21	/// GetURI method
22	fn get_uri(&self, i: i32) -> zbus::Result<String>;
23
24	/// IsValid method
25	fn is_valid(&self) -> zbus::Result<bool>;
26
27	/// EndIndex property
28	#[dbus_proxy(property)]
29	fn end_index(&self) -> zbus::Result<i32>;
30
31	/// NAnchors property
32	#[dbus_proxy(property)]
33	fn nanchors(&self) -> zbus::Result<i16>;
34
35	/// StartIndex property
36	#[dbus_proxy(property)]
37	fn start_index(&self) -> zbus::Result<i32>;
38}