#use struct fields in trait default implementation?

10 messages · Page 1 of 1 (latest)

errant widget
#

I'm pretty sure I've seen this is possible somewhere, but I can't seem to find it. I want to do something like this:

#

there might also be an entirely different way to go about this, or maybe this isn't possible at all. In any case any help is welcome!

reef gorge
#

You'd have to use macros for that.

#

And it wouldn't use the default implementation.

errant widget
#

oh gotchu

#

yeah I was thinking about macros but I didn't wanna get my feet wet tbh

#

or more like get my feet covered in molten lava

#

but it's fine dofsmie

#

!solved

#

oh ya