Crate ident

Source
Expand description

§valence_ident

A library for parsing Minecraft’s resource locations (also known as “resource identifiers” and “namespaced IDs”)

Macros§

ident
Creates a new Ident at compile time from a string literal. A compile error is raised if the string is not a valid resource identifier.
parse_ident_str

Structs§

Ident
A wrapper around a string type S which guarantees the wrapped string is a valid resource identifier.
IdentError
The error type created when an Ident cannot be parsed from a string. Contains the string that failed to parse.