macro_rules! nested_part {
    ($target:ty) => { ... };
    ($target:ty | $part:ty) => { ... };
    ($target:ty | $part:ty | $($subparts:ty)|*) => { ... };
}
Expand description

Expands A | B | ... | Z to Nested<...Nested<A, B>, ..., Z>

This mirrors the syntax for the expressions that can be passed to [PartialRef]’s part functions.