Nemeski@lemm.eecake to Rust@programming.dev · 3 months agoAnnouncing Rust 1.86.0blog.rust-lang.orgexternal-linkmessage-square5fedilinkarrow-up130
arrow-up130external-linkAnnouncing Rust 1.86.0blog.rust-lang.orgNemeski@lemm.eecake to Rust@programming.dev · 3 months agomessage-square5fedilink
minus-squareINeedMana@lemmy.worldlinkfedilinkarrow-up2·3 months agoThank you So basically, it’s like inheritance but for traits?
minus-squarelivingcoder@programming.devlinkfedilinkarrow-up2·3 months agoExactly. The functions of the super trait are also required when implementing the child trait’s functions, as you would expect from inheritance.
Thank you
So basically, it’s like inheritance but for traits?
Exactly. The functions of the super trait are also required when implementing the child trait’s functions, as you would expect from inheritance.