filter_and_map_in_place


Description:

[ Version ( since = "1.6" ) ]
public void filter_and_map_in_place (StructureFilterMapFunc func)

Calls the provided function once for each field in the Structure.

In contrast to @foreach, the function may modify the fields. In contrast to map_in_place, the field is removed from the structure if false is returned from the function. The structure must be mutable.

Parameters:

this

a Structure

func

a function to call for each field

user_data

private data