Trait rust_gpiozero::devices::Device [−][src]
Represents a single device of any type; GPIO-based, SPI-based, I2C-based, etc. It defines the basic services applicable to all devices
Required methods
fn close(self)
[src]
Shut down the device and release all associated resources.
fn is_active(&self) -> bool
[src]
Returns True
if the device is currently active and False
otherwise.