macro_rules! cfg_item {
    (
        pref {
            $($pref_stuff:tt)*
        }
        cfg ($($cfg_conf:tt)*) {
            $($cfg_stuff:tt)*
        }
        else {
            $($els_stuff:tt)*
        }
    ) => { ... };
    (
        pref {
            $($pref_stuff:tt)*
        }
        cfg ($($cfg_conf:tt)*) {
            $($cfg_stuff:tt)*
        }
        $($tail:tt)*
    ) => { ... };
    (
        cfg $cfg_conf:tt $({
            $($cfg_stuff:tt)*
        })*
    ) => { ... };
    (
        pref {
            $($pref_stuff:tt)*
        }
    ) => { ... };
    () => { ... };
}
Expand description

cfg-level if-then-else for items.