Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 10 months agoIs this a Nut?media.gehirneimer.deimagemessage-square128fedilinkarrow-up11.3Karrow-down120
arrow-up11.28Karrow-down1imageIs this a Nut?media.gehirneimer.deSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 10 months agomessage-square128fedilink
minus-squarecallumbirks@programming.devlinkfedilinkarrow-up8·10 months agoWould the equivalent Rust trait be Crack?
minus-squareclass_d_fire@programming.devlinkfedilinkarrow-up5·edit-210 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