Skip to content

Conversation

WebFreak001
Copy link
Contributor

works like Contains, but in case there is a Proxy!T, it is also matched for T.

I originally made libmir/mir-ion#22 but while that was on there I redid the changes again and this came up as useful.

I would be opening a PR in mir-ion that uses this to support e.g. Variant!(int, ProxiedType) to allow possible implicit conversions, serdeProxyCast conversions and regular to!T conversion from deserialized type to proxy type through the variant.

works like Contains, but in case there is a Proxy!T, it is also matched for T.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant