setUserData and getUserData provide simple boxing around the userData field in the TreeIter struct.
TreeIterError for unsupported types or a type mismatch.
Treeiter iter = new TreeIter(); iter.setUserData(20); int i = iter.getUserData!(int)();
See Implementation
setUserData and getUserData provide simple boxing around the userData field in the TreeIter struct.