pass constness from structs to members