You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement the Clone and Debug traits for MfGraph.
This requires implementing Clone and Debug for _Edge as well.
To implement this change, we first need to choose between setting the trait bound for Cap as Clone, Debug or as Integral.
I think the former seems better.
For the Clone trait, it should be sufficient to specify the trait bound and write the impl.
For the Debug trait, discussion is needed regarding the output format.
I think using the debug_struct function for both MfGraph and _Edge should be enough.
The text was updated successfully, but these errors were encountered:
Implement the
Clone
andDebug
traits forMfGraph
.This requires implementing
Clone
andDebug
for_Edge
as well.To implement this change, we first need to choose between setting the trait bound for
Cap
asClone
,Debug
or asIntegral
.I think the former seems better.
For the
Clone
trait, it should be sufficient to specify the trait bound and write theimpl
.For the
Debug
trait, discussion is needed regarding the output format.I think using the
debug_struct
function for bothMfGraph
and_Edge
should be enough.The text was updated successfully, but these errors were encountered: