Skip to main content

hash_set_order_by

Function hash_set_order_by 

Source
pub fn hash_set_order_by<T: PartialEq + Copy>(
    items: impl IntoIterator<Item = T>,
    hash: impl Fn(&T) -> u32,
) -> Vec<T>
Expand description

Returns items in the order the game’s chained hash sets iterate them, given their insertion order and their hash. See hash_set_order.