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