Add type iterator docs.

This commit is contained in:
Stephen Chung
2020-12-14 15:15:05 +08:00
parent ecc08271d9
commit 6f2fecb76b
16 changed files with 91 additions and 28 deletions

View File

@@ -6,7 +6,7 @@ Modules
Rhai allows organizing code (functions, both Rust-based or script-based, and variables) into _modules_.
Modules can be disabled via the [`no_module`] feature.
A module is of the type `Module` and holds a collection of functions, variables, type iterators and sub-modules.
A module is of the type `Module` and holds a collection of functions, variables, [type iterators] and sub-modules.
It may be created entirely from Rust functions, or it may encapsulate a Rhai script together with the functions
and variables defined by that script.