bevy_reflect

Function enum_hash

Source
pub fn enum_hash<TEnum: Enum>(value: &TEnum) -> Option<u64>
Expand description

Returns the u64 hash of the given enum.