Macro plugkit::token [] [src]

macro_rules! token {
    ($name:expr) => { ... };
}

Return a token corresponded with the given string.

Examples

#[macro_use]
use plugkit::token;

let tk = token!("tcp");