static_name

Macro static_name 

macro_rules! static_name {
    ($str:literal) => { ... };
}
Expand description

Creates and gets a reference to a static StringName from a ASCII/Latin-1 c"string".

This is the fastest way to create a StringName repeatedly, with the result being cached and never released, like SNAME in Godot source code. Suitable for scenarios where high performance is required.