FyroxEngine / Fyrox

3D and 2D game engine written in Rust
https://fyrox.rs
MIT License
7.48k stars 339 forks source link

Visitor documentation. #635

Closed b-guild closed 2 months ago

b-guild commented 2 months ago

In order to better understand the Visitor struct and Visit trait, I have created documentation for many undocumented items, mostly in visitor.rs. Hopefully this will help anyone who is looking to understand Fyrox serialization better.

I have also studied the derive macro for Visit and I believe I have correctly produced some examples of the sorts of implementations that the macro produces. Please correct me if I have made any mistakes.