ViewMapFunction struct.