macro_rules! newtype_id {
(
$(#[$a:meta])*
$vis:vis struct $name:ident;
) => { ... };
($name:ident) => { ... };
}Expand description
Macro to create a newtyped ID that implements Idx.
macro_rules! newtype_id {
(
$(#[$a:meta])*
$vis:vis struct $name:ident;
) => { ... };
($name:ident) => { ... };
}Macro to create a newtyped ID that implements Idx.