cairo
cairo copied to clipboard
Add `Debug` implementation with clippy
In circumstances like cairo_native, and other projects working on Cairo and its compilation, it is extremely useful to have a Debug
implementation for each public structure and enum.
Therefore, the lint MISSING_DEBUG_IMPLEMENTATIONS
is added with a derivation of Debug
wherever possible, along with an allow
attribute when the implementation is more complex.
This allows for the implementation of Debug
for a large number of new objects that did not previously have this implementation, with the potential for further refinement in the future.