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
It would occasionally help debugging very much if RenderContext, Text, TextLayoutBuilder, TextLayout, Image etc. were all bounded by Debug, so when e.g. you're retaining them in a struct you can just derive(Debug).
The text was updated successfully, but these errors were encountered:
In any case I see two options: we can add these bounds to the trait (trait Text: Debug) or we can make this an informal contract for things reexported by piet-common, and just have a test in piet-common that checks that Debug is impl'd for these types, like:
It would occasionally help debugging very much if
RenderContext
,Text
,TextLayoutBuilder
,TextLayout
,Image
etc. were all bounded byDebug
, so when e.g. you're retaining them in a struct you can justderive(Debug)
.The text was updated successfully, but these errors were encountered: