2021-01-19 14:21:05 -05:00
|
|
|
// @has with_primitives.json "$.index[*][?(@.name=='WithPrimitives')].visibility" \"public\"
|
|
|
|
// @has - "$.index[*][?(@.name=='WithPrimitives')].kind" \"struct\"
|
|
|
|
// @has - "$.index[*][?(@.name=='WithPrimitives')].inner.generics.params[0].name" \"\'a\"
|
2021-09-01 16:20:14 -07:00
|
|
|
// @has - "$.index[*][?(@.name=='WithPrimitives')].inner.generics.params[0].kind.lifetime.outlives" []
|
2021-01-19 14:21:05 -05:00
|
|
|
// @has - "$.index[*][?(@.name=='WithPrimitives')].inner.struct_type" \"plain\"
|
|
|
|
// @has - "$.index[*][?(@.name=='WithPrimitives')].inner.fields_stripped" true
|
2021-01-15 20:34:15 -05:00
|
|
|
pub struct WithPrimitives<'a> {
|
|
|
|
num: u32,
|
|
|
|
s: &'a str,
|
|
|
|
}
|