You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above struct Wrapper is a generic struct, T can have different types. I want to set different root element for every possible T.
How to achieve this?
The text was updated successfully, but these errors were encountered:
vastvik123
changed the title
Set different root for generic types based on the type parameter
For a generic struct Wrapper<T>, set different root elements for different possible values of T
Jun 19, 2024
@vastvik123 Sorry for the late reply. For now we don't support the generic types well. I think the only way to accomplish this is to define different types.
The above struct Wrapper is a generic struct, T can have different types. I want to set different root element for every possible T.
How to achieve this?
The text was updated successfully, but these errors were encountered: