I’m writing a small 2D game engine in Rust as a learning project, this is the first time I need to seek for forum help.
I have a “Cannot infer lifetime” error and following the suggestions given by the compiler lead to a “borrow more than once” error. I’ve tried playing around with lifetimes but always I hit some dead end.
There are many answers for questions like this in SO, but none seems to work for my case.
any help getting this to compile is highly appreciated!