pub enum DataDirection {
Input,
Output,
}
Expand description
Represents whether a pin is an input or an output.
Variants§
Input
The pin is exclusively used for reading signals.
Output
The pin is exclusively used for sending signals.
Auto Trait Implementations§
impl RefUnwindSafe for DataDirection
impl Send for DataDirection
impl Sync for DataDirection
impl Unpin for DataDirection
impl UnwindSafe for DataDirection
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more