const_struct 0.6.6

macro that allows const structures to be passed as const generics
Documentation
1
2
3
4
5
6
7
8
9
#[macro_export]
macro_rules! match_underscore {
    (_, $tt_is_underscore:expr) => {
        $tt_is_underscore
    };
    ($input:expr, $tt_is_underscore:expr) => {
        $input
    };
}