macro_rules! T {
[:] => { ... };
[;] => { ... };
[,] => { ... };
['{'] => { ... };
['}'] => { ... };
['['] => { ... };
[']'] => { ... };
['('] => { ... };
[')'] => { ... };
[' '] => { ... };
[&] => { ... };
[@] => { ... };
[^] => { ... };
[-] => { ... };
[$] => { ... };
[.] => { ... };
[=] => { ... };
[>] => { ... };
[#] => { ... };
[<] => { ... };
[!] => { ... };
[|] => { ... };
[%] => { ... };
[+] => { ... };
[?] => { ... };
[/] => { ... };
[*] => { ... };
[~] => { ... };
[_] => { ... };
['`'] => { ... };
[>=] => { ... };
[<=] => { ... };
[*|] => { ... };
[::] => { ... };
[||] => { ... };
[==] => { ... };
[~=] => { ... };
[|=] => { ... };
[^=] => { ... };
["$="] => { ... };
[*=] => { ... };
[Dimension::$ident: ident] => { ... };
[Dimension::%] => { ... };
[DimensionIdent] => { ... };
[!important] => { ... };
[$ident:ident] => { ... };
}
Expand description
The T! macro expands to the name of a type representing the Token of the same name. These can be used in struct fields to type child nodes.