Jun 8, 2021
Of course. An interface is just a contract that an object will have a certain shape. You could even have one of your mixins make your object conform to the interface that you want. Or you could create a base object that already implements that interface and then use your mixins to modify the object. Mixins are a powerful form of composition.