TreeIter.setUserData

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

class TreeIter
void
setUserData
(
T
)
()

Throws

TreeIterError for unsupported types or a type mismatch.

Examples

Treeiter iter = new TreeIter();

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

Meta