Nemeski@lemm.ee to Rust@programming.dev · 1 year agoAnnouncing Rust 1.86.0blog.rust-lang.orgexternal-linkmessage-square6linkfedilinkarrow-up161arrow-down10cross-posted to: lobsters
arrow-up161arrow-down1external-linkAnnouncing Rust 1.86.0blog.rust-lang.orgNemeski@lemm.ee to Rust@programming.dev · 1 year agomessage-square6linkfedilinkcross-posted to: lobsters
minus-squareINeedMana@lemmy.worldlinkfedilinkarrow-up2·1 year agoThank you So basically, it’s like inheritance but for traits?
minus-squarelivingcoder@programming.devlinkfedilinkarrow-up3·1 year 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.