Enum tm1637_gpio_driver::GpioPinValue
source · [−]#[repr(u8)]
pub enum GpioPinValue {
LOW,
HIGH,
}
Expand description
The value of a GPIO pin.
Variants
LOW
Low.
HIGH
High.
Trait Implementations
sourceimpl Clone for GpioPinValue
impl Clone for GpioPinValue
sourcefn clone(&self) -> GpioPinValue
fn clone(&self) -> GpioPinValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GpioPinValue
impl Debug for GpioPinValue
sourceimpl From<u8> for GpioPinValue
impl From<u8> for GpioPinValue
impl Copy for GpioPinValue
Auto Trait Implementations
impl RefUnwindSafe for GpioPinValue
impl Send for GpioPinValue
impl Sync for GpioPinValue
impl Unpin for GpioPinValue
impl UnwindSafe for GpioPinValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more