insanity
parent: tbd commit: 6ea28ab
1 | |
2 | |
3 | pub objects: , |
4 | pub operations: , |
5 | pub settings: , |
6 | pub values: , |
7 | |
8 | |
9 | |
10 | pub unsafe |
11 | get_type_metadata_reference |
12 | . |
13 | .as_ref |
14 | |
15 | |
16 | |
17 | trace!; |
18 | |
19 | self.objects.insert; |
20 | |
21 | |
22 | |
23 | &mut self, |
24 | object_kind: &'static str, |
25 | operation_name: &'static str, |
26 | vtable: &'static , |
27 | |
28 | trace! |
29 | "Registering operation metadata for {}::{}", |
30 | object_kind, |
31 | operation_name |
32 | ; |
33 | |
34 | self.operations.insert |
35 | ObjectOperationPair |
36 | object_kind, |
37 | operation_name, |
38 | , |
39 | vtable, |
40 | ; |
41 | |
42 | |
43 | |
44 | &mut self, |
45 | object_kind: &'static str, |
46 | setting_name: &'static str, |
47 | vtable: &'static , |
48 | |
49 | trace!; |
50 | |
51 | self.settings.insert |
52 | ObjectSettingPair |
53 | object_kind, |
54 | setting_name, |
55 | , |
56 | vtable, |
57 | ; |
58 | |
59 | |
60 | |
61 | &mut self, |
62 | object_kind: &'static str, |
63 | value_name: &'static str, |
64 | vtable: &'static , |
65 | |
66 | trace!; |
67 | |
68 | self.values.insert |
69 | ObjectValuePair |
70 | object_kind, |
71 | value_name, |
72 | , |
73 | vtable, |
74 | ; |
75 | |
76 | |
77 |