macro_rules! concatstr {
($t:ty) => { ... };
($t:ty, $($ts:ty),*) => { ... };
}Expand description
Concatenate multiple typed strings.
ยงExample
use stringz::*;
type CrateName = ident!(my_crate);
type ModPath = string!("foo::bar");
type StructName = ident!(Amazing);
type FullQualified = concatstr!(CrateName, string!("::"), ModPath, string!("::"), StructName);
fn test_type() -> string!("my_crate::foo::bar::Amazing") {
FullQualified::default()
}