[][src]Macro type_freak::KVListType

macro_rules! KVListType {
    () => { ... };
    (($name:ty, $value:ty)) => { ... };
    (($name:ty, $value:ty), $(($names:ty, $values:ty)),+) => { ... };
}

Builds a type that implements KVList.

use type_freak::KVListType;
use typenum::consts::*;
type List = KVListType![(U0, String), (U3, usize)];
// Same as KVCons<U0, String, KVCons<U3, usize, KVNil>>