Macro canrun::ltup [−][src]
macro_rules! ltup { ($($item : expr), * $(,) ?) => { ... }; }
Expand description
Create a tuple of logical values with automatic IntoVal
wrapping.
The primary benefit is that it allows freely mixing resolved values and
LVar
s.
Example:
use canrun::{var, ltup, Val}; let x = var(); let tuple: (Val<i32>, Val<i32>, Val<&'static str>) = ltup!(x, 1, "two");