pub fn assert_hook_unique_order(list: Vec<HookMacro>)Expand description
Verify that each Hook in the list with the same type and non-zero priority is unique.
This function iterates over all provided Hook items and ensures that no two
Hook items of the same type define the same non-zero order. If a duplicate
is found, the function will panic at runtime.
§Arguments
Vec<HookMacro>- A vector ofHookMacroinstances to be checked.
§Panics
- Panics if two or more
Hookitems of the same type define the same non-zeroorder.