pub enum Port {
A,
B,
}
Expand description
Which port we’re actively using. Currently you must select which is
active by using select_port on mcp23x17
. Port A is the default.
Variants
A
Port A
B
Port B
Auto Trait Implementations
impl RefUnwindSafe for Port
impl Send for Port
impl Sync for Port
impl Unpin for Port
impl UnwindSafe for Port
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