map_in_place


Description:

public bool map_in_place (StructureMapFunc func)

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

In contrast to @foreach, the function may modify but not delete the fields. The structure must be mutable.

Parameters:

this

a Structure

func

a function to call for each field

user_data

private data

Returns:

true if the supplied function returns true For each of the fields, false otherwise.