macro_rules! pattern_methods {
    ($t:ty, $pmap:expr, $smap:expr) => { ... };
}
🔬This is a nightly-only experimental API. (pattern #27721)