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.
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.