What are the differences between fn(b: &mut Box<dyn Trait>)
and fn<T: Trait>(b: &mut T)
in Rust?
What is the difference in memory usage and why?
What are the differences between fn(b: &mut Box<dyn Trait>)
and fn<T: Trait>(b: &mut T)
in Rust?
What is the difference in memory usage and why?