Enum kernel::gpio::LineDirection
source · [−]pub enum LineDirection {
In,
Out,
}
Expand description
The direction of a gpio line.
Variants
In
Direction is input.
Out
Direction is output.
Auto Trait Implementations
impl RefUnwindSafe for LineDirection
impl Send for LineDirection
impl Sync for LineDirection
impl Unpin for LineDirection
impl UnwindSafe for LineDirection
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