Skip to main content

Module helpers

Module helpers 

Source

Functionsยง

display_name_from_filename ๐Ÿ”’
Title-case display name derived from a manifest filename stem.
fmt_f64 ๐Ÿ”’
Format an f64 as a Rust literal, with .0 suffix on whole numbers.
module_name_from_filename ๐Ÿ”’
Module name derived from a manifest filename stem.
spec_from_wow_id ๐Ÿ”’
WoW API spec ID -> SpecId enum variant.
title_case ๐Ÿ”’
to_display_name ๐Ÿ”’
Title-case a manifest key into a human-readable display name.
to_rotation_key ๐Ÿ”’
Converts a manifest identifier to its rotation token.
to_snake ๐Ÿ”’
Lowercase a manifest key into its snake_case module form.