add RhaiCustomType trait and build_type method

This commit is contained in:
Tristan Guichaoua
2022-08-08 14:43:06 +02:00
parent 7e3a4a4c52
commit b6937fd21d
3 changed files with 70 additions and 1 deletions

View File

@@ -166,7 +166,7 @@ type ExclusiveRange = std::ops::Range<INT>;
/// An inclusive integer range.
type InclusiveRange = std::ops::RangeInclusive<INT>;
pub use api::events::VarDefInfo;
pub use api::{build_type::RhaiCustomType, events::VarDefInfo};
pub use ast::{FnAccess, AST};
pub use engine::{Engine, OP_CONTAINS, OP_EQUALS};
pub use eval::EvalContext;