Documentation for method
mixin assembled from the following types:
method mixin(, *, :)
Generates a new mixin type by calling
$obj is composed, the mixin cache of
$obj will be checked for any existing mixin for these beforehand. If
$obj is an instance of a type, this will return
$obj reblessed with the mixin generated, otherwise this will return the mixin itself.
True, this will throw an exception if no mixin attribute exists on the mixin generated before returning.