Commit 889ca76
committed
Expose EgglogSpan publicly and add debug to spans
This PR makes public the fields on the egglog span so that we can access
them from the Python bindings. In Python, I have been generally converting
to/from egglog sructs by creating a corresponding Python class and copying
all of their fields. To do so , it has to be public.
I also use the debug formatting to allow pretty printing in Python as
the rust struct.
See egraphs-good/egglog-python#258 for the
corresponding PR on the Python side.1 parent 215714e commit 889ca76
1 file changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | | - | |
57 | | - | |
| 56 | + | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments