pub enum LogicLevel {
High,
Low,
}
Expand description
GPIO pin logic level.
When used with input pins, this is the level read on the pin. With output pins it is the level output on that pin by the MCP2221.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for LogicLevel
impl Clone for LogicLevel
Source§fn clone(&self) -> LogicLevel
fn clone(&self) -> LogicLevel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LogicLevel
impl Debug for LogicLevel
impl Copy for LogicLevel
Auto Trait Implementations§
impl Freeze for LogicLevel
impl RefUnwindSafe for LogicLevel
impl Send for LogicLevel
impl Sync for LogicLevel
impl Unpin for LogicLevel
impl UnwindSafe for LogicLevel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more