bindings: rust: provide line_config.set_output_values()
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 13 Jan 2023 10:52:33 +0000 (11:52 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Thu, 26 Jan 2023 10:12:48 +0000 (11:12 +0100)
commit78ac5249a6da6235e42211228b5a880521ee712b
treebcb110205f755ff28166eec886b5e02e2760e7bb
parentfa358c22683707429a012aa215d385fa28cbe69a
bindings: rust: provide line_config.set_output_values()

Add a new function to line config allowing to set a list of output values
for requested lines. This works very similarily to the C++ version of the
new C interface.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
bindings/rust/libgpiod/src/lib.rs
bindings/rust/libgpiod/src/line_config.rs
bindings/rust/libgpiod/tests/line_config.rs