So struct Bus\<T\> { pin: T } And then I have impl like: impl\<T\> Bus\<T\> { where T: OutputPin ....