pub trait IsPad: AnyPin {
type Sercom: Sercom;
type PadNum: PadNum;
}Expand description
Type class for Pins configured as SERCOM pads
This trait serves as both a type class for Pins configured as SERCOM
pads and as a type-level function mapping each Pin type to its
corresponding Sercom and PadNum.
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.