Macro safe_index::new
source · [−]macro_rules! new {
(
$(#[$meta:meta])*
$t:ident
$($tail:tt)*
) => { ... };
}
Expand description
Wraps a usize
into a struct (zero-cost). Also generates the relevant collections indexed by
the wrapper.
See the module-level documentation for more.