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 atspi_common::object_ref::ObjectRefOwned;
14
15#[zbus::proxy(interface = "org.a11y.atspi.Hyperlink", assume_defaults = true)]
16pub trait Hyperlink {
17	/// `GetObject` method
18	fn get_object(&self, i: i32) -> zbus::Result<ObjectRefOwned>;
19
20	/// `GetURI` method
21	#[zbus(name = "GetURI")]
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	#[zbus(property)]
29	fn end_index(&self) -> zbus::Result<i32>;
30
31	/// `NAnchors` property
32	#[zbus(property)]
33	fn n_anchors(&self) -> zbus::Result<i16>;
34
35	/// `StartIndex` property
36	#[zbus(property)]
37	fn start_index(&self) -> zbus::Result<i32>;
38}