Debian Codegraph @

examples/color.rs

raw symbols SCIP
1 use colored_jsonrust-analyzer cargo colored_json 5.0.0 crate/;
2
3 use colored_jsonrust-analyzer cargo colored_json 5.0.0 crate/::preluderust-analyzer cargo colored_json 5.0.0 prelude/::*;
4
5 fn mainrust-analyzer cargo colored_json 5.0.0 main().() -> Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#<(), Boxrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc boxed/Box#<dyn ::stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::errorrust-analyzer cargo std https://github.com/rust-lang/rust/library/std error/::Errorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core error/Error#>> {
6 printlnrust-analyzer cargo std https://github.com/rust-lang/rust/library/std macros/println!!(
7 "{}",
8 r#"{
9 "array": [
10 "ele1",
11 "ele2"
12 ],
13 "float": 3.1415926,
14 "integer": 4398798674962568,
15 "string": "string",
16 "null": null
17 }
18 "#
19 .to_colored_json_autorust-analyzer cargo colored_json 5.0.0 impl#[S][ToColoredJson]to_colored_json_auto().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().
20 );
21 Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(())
22 }