Function get_attribute_name

Source
pub fn get_attribute_name(attribute_id: u16) -> String
Expand description

Get the name of the attribute with a certain numerical ID.

If an invalid ID is used, “invalid” is returned.

attribute_id The ID of the attribute.

Returns the name of the attribute.