Hi,
Here is the playground.
If fn prepare
actually used the fields from struct A
(A still can accept different values type for its members), is it possible to minimize the typing for the generic parameters of say <u16, u16>
, in MyTrait<u16, u16> for A<u16, u16>
?
Thanks
2 posts - 2 participants