1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
use zbus::dbus_proxy;
#[dbus_proxy(interface = "org.a11y.atspi.Value", assume_defaults = true)]
trait Value {
#[dbus_proxy(property)]
fn current_value(&self) -> zbus::Result<f64>;
#[dbus_proxy(property)]
fn set_current_value(&self, value: f64) -> zbus::Result<()>;
#[dbus_proxy(property)]
fn maximum_value(&self) -> zbus::Result<f64>;
#[dbus_proxy(property)]
fn minimum_increment(&self) -> zbus::Result<f64>;
#[dbus_proxy(property)]
fn minimum_value(&self) -> zbus::Result<f64>;
}
use crate::{AtspiProxy, Interface};
impl<'a> AtspiProxy for ValueProxy<'a> {
const INTERFACE: Interface = Interface::Value;
}