Module spacetimedb_data_structures::nstr

source ·
Expand description

Provides UTF-8 strings of compile-time-known lengths.

The strings can be constructed with nstr!(string_literal) producing a type NStr<N> where const N: usize. An example would be nstr!("spacetime"): NStr<9>.

Structs§

  • A UTF-8 string of known length N.