Macro ident_unique
ident_unique!() { /* proc-macro */ }
Expand description
devela_macros
Returns the number of unique identifiers in its input.
This macro does not differentiate between different kinds of identifiers nor check their validity in context. It simply counts all unique identifiers, discarding the rest.
See also ident_total!
, ident_total_unique!
.
§Examples
assert_eq![ident_unique!(a, a 東 r#true; a3 != 3a), 4];