Macro staticize::derive_staticize_tuples
source · macro_rules! derive_staticize_tuples { ($($ident:ident),*) => { ... }; }
Expand description
Used to implement Staticize
for n-sized tuples.
For example, to add support for tuples of size 17, you would write:
ⓘ
derive_staticize_tuples!(A, B, C);
Note though that this would compile-error because Staticize
is already implemented for
tuple sizes up to 16. You can use the macro to implement it for tuples of larger sizes, if
needed. Just make sure to provide N
unique letters separated by commas as input to the
macro.