1 use std::collections::HashMap;
3 // @has "$.index[*][?(@.name=='WithGenerics')].visibility" \"public\"
4 // @has "$.index[*][?(@.name=='WithGenerics')].kind" \"struct\"
5 // @has "$.index[*][?(@.name=='WithGenerics')].inner.generics.params[0].name" \"T\"
6 // @has "$.index[*][?(@.name=='WithGenerics')].inner.generics.params[0].kind.type"
7 // @has "$.index[*][?(@.name=='WithGenerics')].inner.generics.params[1].name" \"U\"
8 // @has "$.index[*][?(@.name=='WithGenerics')].inner.generics.params[1].kind.type"
9 // @has "$.index[*][?(@.name=='WithGenerics')].inner.struct_type" \"plain\"
10 // @has "$.index[*][?(@.name=='WithGenerics')].inner.fields_stripped" true
11 pub struct WithGenerics<T, U> {
13 things: HashMap<U, U>,