macro_rules! layer_name { ($value:expr) => { ... }; }
Construct a LayerName value at compile time.
LayerName
Passing a string that is not a valid LayerName value will yield a compilation error.
use libcnb_data::layer::LayerName; use libcnb_data::layer_name; let layer_name: LayerName = layer_name!("foobar");