snaggen@programming.dev to Rust@programming.dev · 1 year agoPersian Rug - It really ties the Rust room togetherwww.collabora.comexternal-linkmessage-square11fedilinkarrow-up122arrow-down10
arrow-up122arrow-down1external-linkPersian Rug - It really ties the Rust room togetherwww.collabora.comsnaggen@programming.dev to Rust@programming.dev · 1 year agomessage-square11fedilink
minus-squareAloso@programming.devlinkfedilinkarrow-up1·edit-21 year agoIt gives you more type safety, because you use a ProxyᐸFooᐳ instead of just usize.
minus-squareVorpal@programming.devlinkfedilinkEnglisharrow-up1·1 year 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.