Macro tt_call::tt_is_lifetime[][src]

macro_rules! tt_is_lifetime {
    { $caller : tt input = [{ $lifetime : lifetime }] } => { ... };
    { $caller : tt input = [{ $other : tt }] } => { ... };
}
Expand description

Predicate that accepts a single token and determines whether it is a lifetime token. [tt-call]

Input

  • input = [{ a single token tree }]

Output

  • is_lifetime = [{ either true or false }]