snaggen@programming.dev to Rust@programming.dev · 11 months agoPersian Rug - It really ties the Rust room togetherwww.collabora.comexternal-linkmessage-square11fedilinkarrow-up124arrow-down10
arrow-up124arrow-down1external-linkPersian Rug - It really ties the Rust room togetherwww.collabora.comsnaggen@programming.dev to Rust@programming.dev · 11 months agomessage-square11fedilink
minus-squareAloso@programming.devlinkfedilinkarrow-up1·edit-211 months agoIt gives you more type safety, because you use a ProxyᐸFooᐳ instead of just usize.
minus-squareVorpal@programming.devlinkfedilinkEnglisharrow-up1·10 months agoIn my manual implementation I would assume you would use a newtype, so not really relevant.
It gives you more type safety, because you use a
ProxyᐸFooᐳ
instead of justusize
.In my manual implementation I would assume you would use a newtype, so not really relevant.