atspi_proxies/
value.rs

1//! # `DBus` interface proxy for: `org.a11y.atspi.Value`
2//!
3//! This code was generated by `zbus-xmlgen` `2.0.1` from `DBus` introspection data.
4//! Source: `Value.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;
14
15#[atspi_proxy(interface = "org.a11y.atspi.Value", assume_defaults = true)]
16trait Value {
17	/// CurrentValue property
18	#[dbus_proxy(property)]
19	fn current_value(&self) -> zbus::Result<f64>;
20
21	/// Set CurrentValue property
22	#[dbus_proxy(property)]
23	fn set_current_value(&self, value: f64) -> zbus::Result<()>;
24
25	/// MaximumValue property
26	#[dbus_proxy(property)]
27	fn maximum_value(&self) -> zbus::Result<f64>;
28
29	/// MinimumIncrement property
30	#[dbus_proxy(property)]
31	fn minimum_increment(&self) -> zbus::Result<f64>;
32
33	/// MinimumValue property
34	#[dbus_proxy(property)]
35	fn minimum_value(&self) -> zbus::Result<f64>;
36}