Struct rust_gpiozero::devices::GPIODevice
[−]
[src]
pub struct GPIODevice { pub pin: Pin, }
Represents a generic GPIO device and provides the services common to all single-pin GPIO devices
Fields
pin: Pin
Methods
impl GPIODevice
[src]
pub fn new(pin: u64) -> GPIODevice
[src]
Trait Implementations
impl Debug for GPIODevice
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more