Best practices to add more than one bound to type parameters

This is probably the best solution so far. Thanks!

I must confess, for my own taste, I don’t really like to make myT a type alias on top of another struct type myTImpl. I intended myT to be a public composite type with a docstring explaining its fields and functionalities. With this solution, I’ll have to introduce myTImpl but still tell the users, “This is not a fully public API, and you should always stick to methods named myT:sweat_smile:.

But it’ll do the job.