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
For now the function fn_type is only implemented for several base types. But what if the type on my hand is a Box<dyn Type>? How am I suppose to create a function returning value of that type?
I wish we'd have some kind of example that has a simple type system to demonstrate the API about types
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
For now the function
fn_type
is only implemented for several base types. But what if the type on my hand is aBox<dyn Type>
? How am I suppose to create a function returning value of that type?I wish we'd have some kind of example that has a simple type system to demonstrate the API about types
Beta Was this translation helpful? Give feedback.
All reactions