Self-type - Scala Documentation

Self-types are a way to declare that a trait must be mixed into another trait, even though it doesn’t directly extend it. That makes the members of the dependency available without imports.


This is a companion discussion topic for the original entry at http://docs.scala-lang.org//tutorials/tour/self-types.html.html