Defining the types a Trait can be mixed in 28 Jun, 2013 · by admin · Read in about 1 min · (18 Words) scala trait In Scala you can write trait ConstrainedTrait { self: ParentType => // code here } Mail thread here