Pre vtable changes
parent: tbd commit: d17a4b2
1 | use |
2 | , transmute, Deref | PhantomData
3 | ; |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | pub use *; |
11 | pub use *; |
12 | pub use *; |
13 | |
14 | |
15 | type VTable; |
16 | |
17 | |
18 | |
19 | |
20 | _marker: , |
21 | |
22 | |
23 | |
24 | /// Creates a new `VTable<T>` reference to a static vtable in memory. |
25 | /// |
26 | /// Might be unsafe? It seems like it should be safe... |
27 | pub const |
28 | // We're going to transmute the reference to the typed vtable to us |
29 | // which will probably be fine |
30 | unsafe |
31 | |
32 | |
33 | |
34 | |
35 | type Target = VTable; |
36 | |
37 | |
38 | unsafe |
39 | |
40 | |
41 |