Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 9 months agoIs this a Nut?media.gehirneimer.deimagemessage-square122fedilinkarrow-up11.29Karrow-down121
arrow-up11.27Karrow-down1imageIs this a Nut?media.gehirneimer.deSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 9 months agomessage-square122fedilink
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