pub trait InterruptPin<'a>: Pin + Interrupt<'a> { }
The InterruptPin trait allows a pin to be used as either input or output and also to source interrupts.