bitcoin_hashes
macro_rules! index_impl { ($ty:ident) => { ... }; ($ty:ident, $($gen:ident: $gent:ident),*) => { ... }; }
Adds core::ops::Index trait implementation to a given type $ty
core::ops::Index
$ty