veloren/worldsim
Marcel Märtens a4a5cf048e Solve the EntryLayer problem by removing that Trait and hardcoded implementing it for the few structs.
Not perfect, not rust-ly nice, but i have the feeling that rust needs some more time to counter this pattern. However it even occurs with stable features (the Lifetime of C,I and T as you see in the previous commit)
I have found: https://matklad.github.io/2018/05/04/encapsulating-lifetime-of-the-field.html which looks like it might be related to my problem. but i am not yet sure, anyway, problem solved for now, future will tell
2021-08-13 10:54:08 +02:00
..
src Solve the EntryLayer problem by removing that Trait and hardcoded implementing it for the few structs. 2021-08-13 10:54:08 +02:00
Cargo.toml move away from the system that a layer stores it's parent index, but let a layer store their index used to access the child data. which makes everything much clearer and nicer to read and easier to develop on 2021-08-13 10:47:46 +02:00