Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 9 months agoIs this a Nut?media.gehirneimer.deimagemessage-square128fedilinkarrow-up11.27Karrow-down119
arrow-up11.26Karrow-down1imageIs this a Nut?media.gehirneimer.deSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 9 months agomessage-square128fedilink
minus-squarecallumbirks@programming.devlinkfedilinkarrow-up8·9 months agoWould the equivalent Rust trait be Crack?
minus-squareclass_d_fire@programming.devlinkfedilinkarrow-up5·edit-29 months agoInto’s type parameter has an implicit Sized bound. I think AsRef<dyn Crack> would be the trait of choice :D
Would the equivalent Rust trait be
Crack
?AsCrack
Into<dyn AsCrack>
Into
’s type parameter has an implicitSized
bound. I thinkAsRef<dyn Crack>
would be the trait of choice :Ddeleted by creator