Enum gpio::GpioValue
[−]
[src]
pub enum GpioValue { Low, High, }
A value read from or written to a GPIO port
Variants
Low
A low value, usually 0 V
High
A high value, commonly 3.3V or 5V
Trait Implementations
impl Debug for GpioValue
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for GpioValue
[src]
impl Clone for GpioValue
[src]
fn clone(&self) -> GpioValue
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for GpioValue
[src]
impl PartialEq for GpioValue
[src]
fn eq(&self, __arg_0: &GpioValue) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.