Function bevy::reflect::enum_hash

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

Returns the u64 hash of the given enum.