pub trait OptionalPin: Sealed {
    type Id: OptionalPinId;
}
Expand description

Type-level equivalent of Option<PinId>

See the OptionalKind documentation for more details on the pattern.

Required Associated Types§

Implementors§

source§

impl OptionalPin for NoneT

§

type Id = NoneT

source§

impl<P: AnyPin> OptionalPin for P

§

type Id = <P as AnyPin>::Id