Closed fengalin closed 2 years ago
I wonder if we should do the opposite and derive Debug
by default unless set to false...
I wonder if we should do the opposite and derive Debug by default unless set to false...
If I refer to graphen
, which uses the most boxed_inline
s AFAICT, it makes sense to manually implement. You would either get useless inner
indirection or require to manually implement anyway to either call the C accessors or use the proper cast (see quad.rs
for instance).
Good point. :)
cc @sdroege
So that a
struct
using these types can also auto deriveDebug
.Another solution could be to add a
Debug
impl
in manual code, but since these are iterators, there's not much we can show.Other
boxed_inline
candidates ingtk-rs-core
andgtk3-rs
use manualDebug
impl
AFAICT.