Enum driver_cp2130::device::GpioMode
source · pub enum GpioMode {
Input = 0,
OpenDrain = 1,
PushPull = 2,
}
Expand description
GPIO mode enumeration
Variants§
Trait Implementations§
source§impl PartialEq for GpioMode
impl PartialEq for GpioMode
impl Copy for GpioMode
impl StructuralPartialEq for GpioMode
Auto Trait Implementations§
impl Freeze for GpioMode
impl RefUnwindSafe for GpioMode
impl Send for GpioMode
impl Sync for GpioMode
impl Unpin for GpioMode
impl UnwindSafe for GpioMode
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