&gt; We do have traits, which I assume work similarly, it looks like.<p>Rust traits are more like typeclasses. Scala traits more more like Java interfaces w&#x2F;default definitions and some other things.