Created
October 16, 2016 23:48
-
-
Save vvuk/68a66ad1ee88e1c2517b232588e61d19 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010"> | |
<!-- | |
<Type Name="collections::vec::Vec<*>"> | |
<DisplayString Condition="len == 0">empty</DisplayString> | |
<DisplayString Condition="len > 0">length = {len}, capacity = {buf.cap}</DisplayString> | |
<Expand> | |
<ArrayItems Condition="len > 0"> | |
<Size>len</Size> | |
<ValuePointer>($T1*)(buf.ptr.pointer.__0)</ValuePointer> | |
</ArrayItems> | |
</Expand> | |
</Type> | |
--> | |
<Type Name="core::option::Option<*>"> | |
<DisplayString Condition="RUST$ENUM$DISR == 0">None</DisplayString> | |
<DisplayString Condition="RUST$ENUM$DISR != 0">$T1</DisplayString> | |
<Expand> | |
<ExpandedItem Condition="RUST$ENUM$DISR != 0">__0</ExpandedItem> | |
</Expand> | |
</Type> | |
</AutoVisualizer> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment