I am exploring targetting SWF/AS3 bytecode from Rust by creating a
rustup target. I have in mind that every
struct will output an ActionScript class, therefore everything should be expected to be garbage-collected.
Here is the ActionScript 3 bytecode overview.
If I want to support the following features, which path do I have to take?
I would have to support a trait
CloneRef to support cloning a type by reference.
I doubt it is possible to use HIR or MIR to implement the following
#[air_inherit(Control)] struct Button;
air_inherit will implement
AsRef<DisplayObject>. I want to implement
AsRef for every ascending type.