Advertisement
Guest User

Untitled

a guest
May 23rd, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. pub trait IoPin {
  2. type Input: InputPin + IoPin<Input = Self::Input, Output = Self::Output>;
  3. type Output: OutputPin + IoPin<Input = Self::Input, Output = Self::Output>;
  4.  
  5. fn into_input(self) -> Self::Input;
  6. fn into_output(self) -> Self::Output;
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement