1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<AutoVisualizer xmlns =" http://schemas.microsoft.com/vstudio/debugger/natvis/2010" >
3
- <Type Name =" core::ptr::Unique < *> " >
4
- <DisplayString >{{ Unique {pointer} } }</DisplayString >
3
+ <Type Name =" core::cell::Cell < *> " >
4
+ <DisplayString >{value.value }</DisplayString >
5
5
<Expand >
6
- <Item Name =" [ptr]" >pointer</Item >
6
+ <ExpandedItem >value.value</ExpandedItem >
7
+ </Expand >
8
+ </Type >
9
+ <Type Name =" core::cell::Ref< *> " >
10
+ <DisplayString >{value}</DisplayString >
11
+ <Expand >
12
+ <ExpandedItem >value</ExpandedItem >
13
+ </Expand >
14
+ </Type >
15
+ <Type Name =" core::cell::RefMut< *> " >
16
+ <DisplayString >{value}</DisplayString >
17
+ <Expand >
18
+ <ExpandedItem >value</ExpandedItem >
19
+ </Expand >
20
+ </Type >
21
+ <Type Name =" core::cell::RefCell< *> " >
22
+ <DisplayString >{value.value}</DisplayString >
23
+ <Expand >
24
+ <Item Name =" [Borrow state]" Condition =" borrow.value.value == 0" >"Unborrowed",sb</Item >
25
+ <Item Name =" [Borrow state]" Condition =" borrow.value.value > 0" >"Immutably borrowed",sb</Item >
26
+ <Item Name =" [Borrow state]" Condition =" borrow.value.value < 0" >"Mutably borrowed",sb</Item >
27
+ <ExpandedItem >value.value</ExpandedItem >
28
+ </Expand >
29
+ </Type >
30
+ <Type Name =" core::cell::UnsafeCell< *> " >
31
+ <DisplayString >{value}</DisplayString >
32
+ <Expand >
33
+ <ExpandedItem >value</ExpandedItem >
7
34
</Expand >
8
35
</Type >
9
36
10
- <Type Name =" core::ptr::Shared < *> " >
11
- <DisplayString >{{ Shared {pointer} } }</DisplayString >
37
+ <Type Name =" core::mem::manually_drop::ManuallyDrop < *> " >
38
+ <DisplayString >{value }</DisplayString >
12
39
<Expand >
13
- <Item Name =" [ptr]" >pointer</Item >
40
+ <ExpandedItem >value</ExpandedItem >
41
+ </Expand >
42
+ </Type >
43
+
44
+ <Type Name =" core::num::nonzero::NonZeroI8" >
45
+ <DisplayString >{__0}</DisplayString >
46
+ </Type >
47
+ <Type Name =" core::num::nonzero::NonZeroI16" >
48
+ <DisplayString >{__0}</DisplayString >
49
+ </Type >
50
+ <Type Name =" core::num::nonzero::NonZeroI32" >
51
+ <DisplayString >{__0}</DisplayString >
52
+ </Type >
53
+ <Type Name =" core::num::nonzero::NonZeroI64" >
54
+ <DisplayString >{__0}</DisplayString >
55
+ </Type >
56
+ <Type Name =" core::num::nonzero::NonZeroI128" >
57
+ <DisplayString >{__0}</DisplayString >
58
+ </Type >
59
+ <Type Name =" core::num::nonzero::NonZeroIsize" >
60
+ <DisplayString >{__0}</DisplayString >
61
+ </Type >
62
+ <Type Name =" core::num::nonzero::NonZeroU8" >
63
+ <DisplayString >{__0}</DisplayString >
64
+ </Type >
65
+ <Type Name =" core::num::nonzero::NonZeroU16" >
66
+ <DisplayString >{__0}</DisplayString >
67
+ </Type >
68
+ <Type Name =" core::num::nonzero::NonZeroU32" >
69
+ <DisplayString >{__0}</DisplayString >
70
+ </Type >
71
+ <Type Name =" core::num::nonzero::NonZeroU64" >
72
+ <DisplayString >{__0}</DisplayString >
73
+ </Type >
74
+ <Type Name =" core::num::nonzero::NonZeroU128" >
75
+ <DisplayString >{__0}</DisplayString >
76
+ </Type >
77
+ <Type Name =" core::num::nonzero::NonZeroUsize" >
78
+ <DisplayString >{__0}</DisplayString >
79
+ </Type >
80
+
81
+ <Type Name =" core::num::wrapping::Wrapping< *> " >
82
+ <DisplayString >{__0}</DisplayString >
83
+ </Type >
84
+
85
+ <Type Name =" core::ops::range::Range< *> " >
86
+ <DisplayString >({start}..{end})</DisplayString >
87
+ </Type >
88
+ <Type Name =" core::ops::range::RangeFrom< *> " >
89
+ <DisplayString >({start}..)</DisplayString >
90
+ </Type >
91
+ <Type Name =" core::ops::range::RangeInclusive< *> " >
92
+ <DisplayString >({start}..={end})</DisplayString >
93
+ </Type >
94
+ <Type Name =" core::ops::range::RangeTo< *> " >
95
+ <DisplayString >(..{end})</DisplayString >
96
+ </Type >
97
+ <Type Name =" core::ops::range::RangeToInclusive< *> " >
98
+ <DisplayString >(..={end})</DisplayString >
99
+ </Type >
100
+
101
+ <Type Name =" core::pin::Pin< *> " >
102
+ <DisplayString >Pin({(void*)pointer}: {pointer})</DisplayString >
103
+ <Expand >
104
+ <ExpandedItem >pointer</ExpandedItem >
14
105
</Expand >
15
106
</Type >
16
107
17
108
<Type Name =" core::ptr::non_null::NonNull< *> " >
18
- <DisplayString >{(void*) pointer}</DisplayString >
109
+ <DisplayString >NonNull({(void*) pointer}: {pointer})</DisplayString >
110
+ <Expand >
111
+ <ExpandedItem >pointer</ExpandedItem >
112
+ </Expand >
113
+ </Type >
114
+
115
+ <Type Name =" core::ptr::unique::Unique< *> " >
116
+ <DisplayString >Unique({(void*)pointer}: {pointer})</DisplayString >
117
+ <Expand >
118
+ <ExpandedItem >pointer</ExpandedItem >
119
+ </Expand >
120
+ </Type >
121
+
122
+ <Type Name =" core::sync::atomic::AtomicBool" >
123
+ <DisplayString >{(bool)v.value}</DisplayString >
124
+ </Type >
125
+ <Type Name =" core::sync::atomic::AtomicI8" >
126
+ <DisplayString >{v.value}</DisplayString >
127
+ </Type >
128
+ <Type Name =" core::sync::atomic::AtomicI16" >
129
+ <DisplayString >{v.value}</DisplayString >
130
+ </Type >
131
+ <Type Name =" core::sync::atomic::AtomicI32" >
132
+ <DisplayString >{v.value}</DisplayString >
133
+ </Type >
134
+ <Type Name =" core::sync::atomic::AtomicI64" >
135
+ <DisplayString >{v.value}</DisplayString >
136
+ </Type >
137
+ <Type Name =" core::sync::atomic::AtomicIsize" >
138
+ <DisplayString >{v.value}</DisplayString >
139
+ </Type >
140
+ <Type Name =" core::sync::atomic::AtomicU8" >
141
+ <DisplayString >{v.value}</DisplayString >
142
+ </Type >
143
+ <Type Name =" core::sync::atomic::AtomicU16" >
144
+ <DisplayString >{v.value}</DisplayString >
145
+ </Type >
146
+ <Type Name =" core::sync::atomic::AtomicU32" >
147
+ <DisplayString >{v.value}</DisplayString >
148
+ </Type >
149
+ <Type Name =" core::sync::atomic::AtomicU64" >
150
+ <DisplayString >{v.value}</DisplayString >
151
+ </Type >
152
+ <Type Name =" core::sync::atomic::AtomicUsize" >
153
+ <DisplayString >{v.value}</DisplayString >
154
+ </Type >
155
+
156
+ <Type Name =" core::time::Duration" >
157
+ <DisplayString >{secs,d}s {nanos,d}ns</DisplayString >
19
158
<Expand >
20
- <Item Name =" [value]" >*pointer</Item >
159
+ <Item Name =" seconds" >secs,d</Item >
160
+ <Item Name =" nanoseconds" >nanos,d</Item >
21
161
</Expand >
22
162
</Type >
23
- </AutoVisualizer >
163
+ </AutoVisualizer >
0 commit comments