macro_rules! _single {
(
$( #[ $Meta : meta ] )*
$Vis : vis single $Name : ident :
< $ParamName : ident $( : $ParamTy1x1 : ident $( :: $ParamTy1xN : ident )* $( + $ParamTy2 : path )* )? >
$( ; $( $Rest : tt )* )?
) => { ... };
(
$( #[ $Meta : meta ] )*
$Vis : vis single $Name : ident :
< $ParamName : ident $( : $ParamTy1x1 : ident $( :: $ParamTy1xN : ident )* $( + $ParamTy2 : path )* )? ,
$( $Rest : tt )*
) => { ... };
(
$( #[ $Meta : meta ] )*
$Vis : vis single $Name : ident : $TypeSplit1 : ident $( :: $TypeSplitN : ident )*
$( < $( $ParamName : ident $( : $ParamTy1x1 : ident $( :: $ParamTy1xN : ident )* $( + $ParamTy2 : path )* )? ),* > )?
$( ; $( $Rest : tt )* )?
) => { ... };
}
Expand description
Type constructor of single.
Should not be used directly. Instead use macro crate::types!.