set_export_callback
ErrorsCollection

set_export_callback

Synthesised documentation from type/Metamodel/EnumHOW

From type/Metamodel/EnumHOW

See Original text in context

method set_export_callback($obj$callback)

Sets the enum's export callback, which is invoked when calling .compose_values. This is called when applying the export trait to an enum. $callback should be a routine of some sort, taking no arguments, that handles exporting the enum's values.