I’m writing a small graph library to practice stuff from my computer science studies.
I have a generic data type Graph and want to implement fmt::Display on it.
Now I want to have 2 different implementations, based on whether T implements Display or not:
Is there any way to achieve this?
Thanks in advance,