Crate valence::ident

source ·
Expand description

§valence_ident

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

Macros§

  • 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.

Structs§

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