Macro libcnb_data::layer_name

source ·
macro_rules! layer_name {
    ($value:expr) => { ... };
}
Expand description

Construct a LayerName value at compile time.

Passing a string that is not a valid LayerName value will yield a compilation error.

§Examples:

use libcnb_data::layer::LayerName;
use libcnb_data::layer_name;

let layer_name: LayerName = layer_name!("foobar");