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
Hello! Sorry it's a rookie question, I was browsing documentation and have a small question regarding trait Measurement : as far as I understand, because from_base_unit() returns Self, trait itself is not object safe. That's what the compiler is pointing out when trying to Box<dyn Measurement> so I was wondering if it's by design.
The text was updated successfully, but these errors were encountered:
Hello! Sorry it's a rookie question, I was browsing documentation and have a small question regarding trait
Measurement
: as far as I understand, because from_base_unit() returnsSelf
, trait itself is not object safe. That's what the compiler is pointing out when trying toBox<dyn Measurement>
so I was wondering if it's by design.The text was updated successfully, but these errors were encountered: