Debian Codegraph @

src/trait_handlers/debug/mod.rs

raw symbols SCIP
1 mod commonrust-analyzer cargo educe 0.6.0 trait_handlers/debug/common/;
2 mod debug_enumrust-analyzer cargo educe 0.6.0 trait_handlers/debug/debug_enum/;
3 mod debug_structrust-analyzer cargo educe 0.6.0 trait_handlers/debug/debug_struct/;
4 mod debug_unionrust-analyzer cargo educe 0.6.0 trait_handlers/debug/debug_union/;
5 mod modelsrust-analyzer cargo educe 0.6.0 trait_handlers/debug/models/;
6 mod panicrust-analyzer cargo educe 0.6.0 trait_handlers/debug/panic/;
7
8 use synrust-analyzer cargo syn 2.0.119 crate/::{Datarust-analyzer cargo syn 2.0.119 derive/Data#, DeriveInputrust-analyzer cargo syn 2.0.119 derive/DeriveInput#, Metarust-analyzer cargo syn 2.0.119 attr/Meta#};
9
10 use superrust-analyzer cargo educe 0.6.0 trait_handlers/::TraitHandlerrust-analyzer cargo educe 0.6.0 trait_handlers/TraitHandler#;
11 use craterust-analyzer cargo educe 0.6.0 crate/::Traitrust-analyzer cargo educe 0.6.0 supported_traits/Trait#;
12
13 pub(craterust-analyzer cargo educe 0.6.0 crate/) struct DebugHandlerrust-analyzer cargo educe 0.6.0 trait_handlers/debug/DebugHandler#;
14
15 impl TraitHandlerrust-analyzer cargo educe 0.6.0 trait_handlers/TraitHandler# for DebugHandlerrust-analyzer cargo educe 0.6.0 trait_handlers/debug/DebugHandler# {
16 #[inline]
17 fn trait_meta_handlerrust-analyzer cargo educe 0.6.0 trait_handlers/debug/impl#[DebugHandler][TraitHandler]trait_meta_handler().(
18 ast: &DeriveInputrust-analyzer cargo syn 2.0.119 derive/DeriveInput#,
19 token_stream: &mut proc_macro2rust-analyzer cargo proc-macro2 1.0.107 crate/::TokenStreamrust-analyzer cargo proc-macro2 1.0.107 TokenStream#,
20 traits: &[Traitrust-analyzer cargo educe 0.6.0 supported_traits/Trait#],
21 meta: &Metarust-analyzer cargo syn 2.0.119 attr/Meta#,
22 ) -> synrust-analyzer cargo syn 2.0.119 crate/::Resultrust-analyzer cargo syn 2.0.119 error/Result#<()> {
23 match ast.datarust-analyzer cargo syn 2.0.119 derive/DeriveInput#data. {
24 Datarust-analyzer cargo syn 2.0.119 derive/Data#::Structrust-analyzer cargo syn 2.0.119 derive/Data#Struct#(_) => debug_structrust-analyzer cargo educe 0.6.0 trait_handlers/debug/debug_struct/::DebugStructHandlerrust-analyzer cargo educe 0.6.0 trait_handlers/debug/debug_struct/DebugStructHandler#::trait_meta_handlerrust-analyzer cargo educe 0.6.0 trait_handlers/debug/debug_struct/impl#[DebugStructHandler][TraitHandler]trait_meta_handler().(
25 ast,
26 token_stream,
27 traits,
28 meta,
29 ),
30 Datarust-analyzer cargo syn 2.0.119 derive/Data#::Enumrust-analyzer cargo syn 2.0.119 derive/Data#Enum#(_) => {
31 debug_enumrust-analyzer cargo educe 0.6.0 trait_handlers/debug/debug_enum/::DebugEnumHandlerrust-analyzer cargo educe 0.6.0 trait_handlers/debug/debug_enum/DebugEnumHandler#::trait_meta_handlerrust-analyzer cargo educe 0.6.0 trait_handlers/debug/debug_enum/impl#[DebugEnumHandler][TraitHandler]trait_meta_handler().(ast, token_stream, traits, meta)
32 },
33 Datarust-analyzer cargo syn 2.0.119 derive/Data#::Unionrust-analyzer cargo syn 2.0.119 derive/Data#Union#(_) => {
34 debug_unionrust-analyzer cargo educe 0.6.0 trait_handlers/debug/debug_union/::DebugUnionHandlerrust-analyzer cargo educe 0.6.0 trait_handlers/debug/debug_union/DebugUnionHandler#::trait_meta_handlerrust-analyzer cargo educe 0.6.0 trait_handlers/debug/debug_union/impl#[DebugUnionHandler][TraitHandler]trait_meta_handler().(ast, token_stream, traits, meta)
35 },
36 }
37 }
38 }