Re:Ownership and Borrowing in D
by logicchains on Tuesday July 16, 2019 @06:19AM
(#20448810)
I stand corrected. Could the same technique also be used to have a struct parameterised by C and T that had a C as a member?
Here is an implementation: https://play.rust-lang.org/?version=stable&mode=release&edit...
Fill is also possible, using the same trait and iterators.