[][src]Macro canrun::ltup

macro_rules! ltup {
    ($($item:expr),* $(,)?) => { ... };
}

Create a tuple of logical values with automatic IntoVal wrapping.

The primary benefit is that it allows freely mixing resolved values and LVars.

Example:

use canrun::{var, ltup, Val};
let x = var();
let tuple: (Val<i32>, Val<i32>, Val<&'static str>) = ltup!(x, 1, "two");