Struct rust_gpiozero::output_devices::DigitalOutputDevice [] [src]

pub struct DigitalOutputDevice { /* fields omitted */ }

Represents a generic output device with typical on/off behaviour. Extends behaviour with blink

Methods

impl DigitalOutputDevice
[src]

Trait Implementations

impl Debug for DigitalOutputDevice
[src]

[src]

Formats the value using the given formatter. Read more

impl OutputDeviceTrait for DigitalOutputDevice
[src]

[src]

Get the pin

[src]

Turns the device on.

[src]

Turns the device off.

[src]

Reverse the state of the device. If it's on, turn it off; if it's off, turn it on. Read more

Auto Trait Implementations