Trait serpente::sercom::v2::GetOptionalPad[][src]

pub trait GetOptionalPad<S>: OptionalPinId where
    S: Sercom
{ type PadNum: OptionalPadNum; type Pad: OptionalPad; }
Expand description

Type-level function mapping OptionalPinIds to their corresponding OptionalPads

This trait acts as a [type-level function] mapping OptionalPinIds to their corresponding OptionalPad. In pseudo-Rust, it is the type-level equivalent of starting with Option<PinId> and calling .map(GetPad) to recover an Option<Pad>.

Associated Types

Implementations on Foreign Types

Implementors