☰
Debian Codegraph
@
25.07.1+20260723+ds+~0.3.3+ds+~0.4.0+20260627+ds-2.1
25.07.1+20260723+ds+~0.3.3+ds+~0.4.0+20260627+ds-2
25.07.1+20260624+ds+~0.3.3+ds+~0.4.0+20260607+ds-4
/
/
tests
/
query
/
highlights
/
rust
/
constructs.rs
☽
☼
tests/query/highlights/rust/constructs.rs
code
plain
raw
symbols
SCIP
MPL-2.0
Blaž Hrastnik <
[email protected]
>
debian/copyright
1
use
std::fmt;
2
// ^ @namespace
3
enum
Color
{
Red
}
4
// ^ @type.enum.variant
5
fn
f
(self) {
6
// ^ @variable.builtin
7
println
!
(
"ok"
);
8
// ^ @function.macro
9
self.
helper
();
10
// ^ @function.method
11
let
p =
Point
{};
12
// ^ @constructor
13
}