bevy_reflect::utility

Function reflect_hasher

Source
pub fn reflect_hasher() -> AHasher
Expand description

Deterministic fixed state hasher to be used by implementors of Reflect::reflect_hash.

Hashes should be deterministic across processes so hashes can be used as checksums for saved scenes, rollback snapshots etc. This function returns such a hasher.