Macro recital::id [] [src]

macro_rules! id {
    ($a:expr) => { ... };
}

Creates a new identifier.

let a = id!("abc");
let b = id!(123);

is the same as

use recital::version::Identifier;

let a = Identifier::Alpha("abc".to_string());
let b = Identifier::Number(123);