Back To Amethyst.rs

Legion: get component version

I would like to implement my own change tracking over the legion’s one. But I could not find a way to get component version with the public API. The ComponentSlice::version is not public and has no accessor.

Is there a way to get a version?

Or may be something like ChunkView::component_version<T: Component>() -> Option<Version> would be nice.

I have it locally and will provide PR if there is no better way to get a version.