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
This would make it easier to build more generic wrappers around this API without too much copy/paste for each particular type.
Note 1: would be nice to have it just as Scalar without it being generic, but it seems that Scalar<Self::ValueType> is inevitable? (because JsonValueTrait may return non-self in get() and pointer()?)
Note 2: for consistency, it might make sense to also have
Suggestion:
This would make it easier to build more generic wrappers around this API without too much copy/paste for each particular type.
Note 1: would be nice to have it just as
Scalar
without it being generic, but it seems thatScalar<Self::ValueType>
is inevitable? (becauseJsonValueTrait
may return non-self inget()
andpointer()
?)Note 2: for consistency, it might make sense to also have
The text was updated successfully, but these errors were encountered: