A mixin for [[Template]] that provides the toInterface and
unsafeFromInterface contract ID conversion functions.
Even templates that directly implement no interfaces implement this, because
this also permits conversion with interfaces that supply retroactive
implementations to this template.
Typeparam
T The template type.
Typeparam
IfU The union of implemented interfaces, or never for templates
that directly implement no interface.
A mixin for [[Template]] that provides the
toInterface
andunsafeFromInterface
contract ID conversion functions.Even templates that directly implement no interfaces implement this, because this also permits conversion with interfaces that supply retroactive implementations to this template.
Typeparam
T The template type.
Typeparam
IfU The union of implemented interfaces, or
never
for templates that directly implement no interface.