Expand description
Running Xur programs.
Re-exports§
Modules§
- convert
- Converting between Rust values and Xur values, driven by facet shapes.
- registry
- Registering Rust functions and types as Xur modules.
Structs§
- Adt
- An instance of a struct, or of an enum variant, defined in Xur.
- Closure
- A closure value.
- Lang
Items - The prelude’s
OptionandResultvariants, which Rust’sOptionandResultconvert to and from. - Native
Object - A value of a registered Rust type. Methods registered as taking
&mut selfchange it in place, and every Xur value referring to it sees the change. - Range
- Record
- A value of an unregistered Rust struct, converted to named fields.
- Runtime
Error - An error raised while running a program, such as a type mismatch that could only be detected at runtime.
- Value
Iter - A shared iterator over values.
Enums§
- Builtin
Type - The kinds of built-in value that have methods, like
list.push(x). - Value
Functions§
- lock
- Locks
mutex. A panic while it was held doesn’t stop the program from using the value, as Xur values have no invariants a panic could break.