tests/snippets/rust/test_struct.txt
raw| 1 | ---input--- |
| 2 | struct X { x: u32 } |
| 3 | |
| 4 | ---tokens--- |
| 5 | 'struct' Keyword |
| 6 | ' ' Text.Whitespace |
| 7 | 'X' Name.Class |
| 8 | ' ' Text.Whitespace |
| 9 | '{' Punctuation |
| 10 | ' ' Text.Whitespace |
| 11 | 'x' Name |
| 12 | ':' Punctuation |
| 13 | ' ' Text.Whitespace |
| 14 | 'u32' Keyword.Type |
| 15 | ' ' Text.Whitespace |
| 16 | '}' Punctuation |
| 17 | '\n' Text.Whitespace |