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::common::ObjectRef;
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<ObjectRef>;
19
20 /// GetURI method
21 fn get_uri(&self, i: i32) -> zbus::Result<String>;
22
23 /// IsValid method
24 fn is_valid(&self) -> zbus::Result<bool>;
25
26 /// EndIndex property
27 #[zbus(property)]
28 fn end_index(&self) -> zbus::Result<i32>;
29
30 /// NAnchors property
31 #[zbus(property)]
32 fn nanchors(&self) -> zbus::Result<i16>;
33
34 /// StartIndex property
35 #[zbus(property)]
36 fn start_index(&self) -> zbus::Result<i32>;
37}