Open
Description
Some unstable or planned rust or godot features may be useful to us when they are stabilized/implemented.
Rust
- c string literals, this may simplify/optimize creation of stringy types. currently planned for stabilization in rust 1.77
diagnostic::on_unimplemented
, this would let us customize some error messages emitted by the compiler in our proc macros. currently planned for stabilization in rust 1.78.- arbitrary self types, this would let us simplify some method calls by for instance not needing
Deref
forGd<Object>
toObject
Godot
- static type hints for dictionary, might allow using
Dictionary
more likeHashMap<K,V>
- nullable builtin types, would provide a cleaner mapping of types like
Option<Vector2>
- structs in godot, may provide an alternative representation of structs in godot
- trait system, we might be able to expose a rust trait to godot using this