pub enum IoDir {
In,
Out,
}Expand description
Direction for a single GPIO pin.
The value is forwarded to the platform register implementation which is responsible for applying the direction in hardware.
Variants§
Auto Trait Implementations§
impl Freeze for IoDir
impl RefUnwindSafe for IoDir
impl Send for IoDir
impl Sync for IoDir
impl Unpin for IoDir
impl UnwindSafe for IoDir
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