TreeIter.getUserData

setUserData and getUserData provide simple boxing around the userData field in the TreeIter struct.

class TreeIter
T
getUserData
(
T
)
()

Throws

TreeIterError for unsupported types or a type mismatch.

Examples

Treeiter iter = new TreeIter();

iter.setUserData(20);
int i = iter.getUserData!(int)();

Meta