Macro refined_type::equal_rule

source ยท
macro_rules! equal_rule {
    (($e: literal, $t: ty)) => { ... };
    (($e: literal, $t: ty), $(($es: literal, $ts: ty)),+) => { ... };
}
Expand description

This macro generates a rule that checks if the number is equal to N