generate_places!() { /* proc-macro */ }Expand description
Creates a struct with many fields, generating many places while keeping the number of locations constant. For example:
use bench_utils::generate_places;
generate_places!(foo: PlaceStruct<[i32; 3]> = 1);generates a struct called PlaceStruct with 3 i32 fields and assigns
foo to an instantiation of the PlaceStruct where each field is 1: