pub trait AnyConfig: Sealed + Is<Type = Config<Self::Pads, Self::CharSize>> {
    type Sercom: Sercom;
    type Pads: ValidPads;
    type Word: 'static + PrimInt + AsPrimitive<u16>;
    type CharSize: CharSize;
}
Expand description

Type class for all possible Config types

This trait uses the AnyKind trait pattern to create a [type class] for Config types. See the AnyKind documentation for more details on the pattern.

In addition to the normal, AnyKind associated types. This trait also copies the Sercom and Word types, to make it easier to apply bounds to these types at the next level of abstraction.

Associated Types

Implementors