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 | |
13 | #[zbus::proxy (interface = "org.a11y.atspi.Value" , assume_defaults = true)] |
14 | trait Value { |
15 | /// CurrentValue property |
16 | #[zbus(property)] |
17 | fn current_value(&self) -> zbus::Result<f64>; |
18 | |
19 | /// Set CurrentValue property |
20 | #[zbus(property)] |
21 | fn set_current_value(&self, value: f64) -> zbus::Result<()>; |
22 | |
23 | /// MaximumValue property |
24 | #[zbus(property)] |
25 | fn maximum_value(&self) -> zbus::Result<f64>; |
26 | |
27 | /// MinimumIncrement property |
28 | #[zbus(property)] |
29 | fn minimum_increment(&self) -> zbus::Result<f64>; |
30 | |
31 | /// MinimumValue property |
32 | #[zbus(property)] |
33 | fn minimum_value(&self) -> zbus::Result<f64>; |
34 | } |
35 | |