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
Add a borrowed version of all json-abi types, which implement ToOwned. Ideally methods are implemented only once, with the owned version implementing Deref towards the borrowed type, but this might not be fully doable.
This might also allow declaring the entire ABI as a const/static by setting the lifetime to 'static.
Component
json-abi
Describe the feature you would like
Add a borrowed version of all
json-abi
types, which implementToOwned
. Ideally methods are implemented only once, with the owned version implementingDeref
towards the borrowed type, but this might not be fully doable.This might also allow declaring the entire ABI as a
const
/static
by setting the lifetime to'static
.Additional context
Refs: #136
The text was updated successfully, but these errors were encountered: