snaggen to Rust · 2 years agoPersian Rug - It really ties the Rust room togetherwww.collabora.comexternal-linkmessage-square11linkfedilinkarrow-up124arrow-down10
arrow-up124arrow-down1external-linkPersian Rug - It really ties the Rust room togetherwww.collabora.comsnaggen to Rust · 2 years agomessage-square11linkfedilink
minus-squareAlosolinkfedilinkarrow-up1·edit-22 years agoIt gives you more type safety, because you use a ProxyᐸFooᐳ instead of just usize.
minus-squareVorpallinkfedilinkEnglisharrow-up1·2 years 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.