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
We could have a dynamic S which only implements MaybeContains<T> for all T. This would be ~ HashMap<TypeId, Box<dyn Any>> like a typical type maps. We could have a method which turns the static S to this dynamic S.
This might have to be stratified by all the traits you need to include in Box<dyn Any + { Traits }> - this might make things awkward.
The text was updated successfully, but these errors were encountered:
We could have a dynamic
S
which only implementsMaybeContains<T>
for allT
. This would be ~HashMap<TypeId, Box<dyn Any>>
like a typical type maps. We could have a method which turns the staticS
to this dynamicS
.This might have to be stratified by all the traits you need to include in
Box<dyn Any + { Traits }>
- this might make things awkward.The text was updated successfully, but these errors were encountered: