Function crate_metadata::section_name_str_ref
source · pub fn section_name_str_ref(section_type: &SectionType) -> StrRef
Expand description
Returns the default name for the given SectionType
as a StrRef
.
This is useful for deduplicating section name strings in memory,
as the returned StrRef
will point back to a single instance
of that section name string that can be shared across the system.