macro_rules! fn_name {
(
fn $Name : ident
$( $Rest : tt )*
) => { ... };
(
$First : tt
$( $Rest : tt )*
) => { ... };
}
Expand description
Get name of a function.
macro_rules! fn_name {
(
fn $Name : ident
$( $Rest : tt )*
) => { ... };
(
$First : tt
$( $Rest : tt )*
) => { ... };
}
Get name of a function.