Using box_clone()
is the approach that works. Note that if you add that to the trait and use that to impl Clone for Box<Foo>
, you can clone it as wanted.
1 Like
Using box_clone()
is the approach that works. Note that if you add that to the trait and use that to impl Clone for Box<Foo>
, you can clone it as wanted.