How to use this developer tool
- Paste Rust source code.
- Choose numbered source, declaration index, or search mode.
- Enter a search term when using search mode.
- Build the view and copy or download the result.
View Rust source with line numbers, declaration navigation, search matches, and large-file-friendly plain-text output without sending code to an editor service.
The viewer builds a readable source representation, declaration index, or search report. It escapes output safely and avoids semantic code changes.
The template output area is plain text, so syntax coloring is intentionally limited. The source remains safe to copy and download.
The page loads a working Rust Viewer example. Run the tool to compare the sample input with the generated output and status summary.
Select Numbered source and run the viewer to generate a copy-ready line-numbered representation.
Choose Declaration index to list structs, enums, traits, impl blocks, and functions with line numbers.
Yes. Search matches mode reports matching lines, with case and whole-word options.
No. It performs browser-based formatting, conversion, structural parsing, or heuristic analysis. Always verify production code with the official toolchain.
No processing is implemented by the page itself in your browser. Review your hosting and analytics configuration separately if you add external services.
| Module | Coverage |
|---|---|
| Views | Numbered, declarations, search |
| Navigation | Line-based declaration index |
| Large files | Plain-text efficient output |