pub enum PinConfig {
Input = 1,
Output = 0,
}Expand description
Pin configuration (direction)
Variants§
Input = 1
Pin configured as input (high impedance) - default
Output = 0
Pin configured as output (can drive high or low)
Implementations§
Trait Implementations§
impl Copy for PinConfig
impl StructuralPartialEq for PinConfig
Auto Trait Implementations§
impl Freeze for PinConfig
impl RefUnwindSafe for PinConfig
impl Send for PinConfig
impl Sync for PinConfig
impl Unpin for PinConfig
impl UnwindSafe for PinConfig
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