pub trait Pin: Input + Output + Configure { }
The Pin trait allows a pin to be used as either input or output and to be configured.