Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 2 years agoIs this a Nut?media.gehirneimer.deimagemessage-square128linkfedilinkarrow-up11.32K
arrow-up11.32KimageIs this a Nut?media.gehirneimer.deSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 2 years agomessage-square128linkfedilink
minus-squarecallumbirks@programming.devlinkfedilinkarrow-up8·2 years agoWould the equivalent Rust trait be Crack?
minus-squareclass_d_fire@programming.devlinkfedilinkarrow-up5·edit-22 years 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