Macro frunk_core::Hlist
[−]
[src]
macro_rules! Hlist { () => { ... }; ($single: ty) => { ... }; ($first: ty, $( $repeated: ty ), +) => { ... }; }
Returns a type signature for an HList of the provided types
This is a type macro (introduced in Rust 1.13) that makes it easier to write nested type signatures.
let h: Hlist!(f32, &str, Option<i32>) = hlist![13.5f32, "hello", Some(41)];