2021-01-15 19:34:15 -06:00
|
|
|
use std::collections::HashMap;
|
|
|
|
|
2024-07-19 09:50:47 -05:00
|
|
|
//@ is "$.index[*][?(@.name=='WithGenerics')].visibility" \"public\"
|
|
|
|
//@ has "$.index[*][?(@.name=='WithGenerics')].inner.struct"
|
|
|
|
//@ is "$.index[*][?(@.name=='WithGenerics')].inner.struct.generics.params[0].name" \"T\"
|
|
|
|
//@ is "$.index[*][?(@.name=='WithGenerics')].inner.struct.generics.params[0].kind.type.bounds" []
|
|
|
|
//@ is "$.index[*][?(@.name=='WithGenerics')].inner.struct.generics.params[1].name" \"U\"
|
|
|
|
//@ is "$.index[*][?(@.name=='WithGenerics')].inner.struct.generics.params[1].kind.type.bounds" []
|
2024-08-04 18:44:35 -05:00
|
|
|
//@ is "$.index[*][?(@.name=='WithGenerics')].inner.struct.kind.plain.has_stripped_fields" true
|
2024-07-19 09:50:47 -05:00
|
|
|
//@ is "$.index[*][?(@.name=='WithGenerics')].inner.struct.kind.plain.fields" []
|
2021-01-15 19:34:15 -06:00
|
|
|
pub struct WithGenerics<T, U> {
|
|
|
|
stuff: Vec<T>,
|
|
|
|
things: HashMap<U, U>,
|
|
|
|
}
|