[−][src]Macro abi_stable::rtuple
Use this macro to construct a Tuple*
with the values passed to the macro.
Example
use abi_stable::{ rtuple, std_types::{Tuple1,Tuple2,Tuple3,Tuple4}, }; assert_eq!(rtuple!(), ()); assert_eq!(rtuple!(3), Tuple1(3)); assert_eq!(rtuple!(3,5), Tuple2(3,5)); assert_eq!(rtuple!(3,5,8), Tuple3(3,5,8)); assert_eq!(rtuple!(3,5,8,9), Tuple4(3,5,8,9));