The templating language does not know what references are (everything is a value). In rust however we have to explicitly use references or clones in certain code positions. To generate rust-code we need to introduce clones at certain positions and use references where it is possible. For this, further investigation has to be done.
The templating language does not know what references are (everything is a value). In rust however we have to explicitly use references or clones in certain code positions. To generate rust-code we need to introduce clones at certain positions and use references where it is possible. For this, further investigation has to be done.