TransformableMixin
- class TransformableMixin
A transformable object (subclass of
TransformableMixin
) is any object that can be transformed by aTransformation
.The exact implementation of this is specified by implementing
transform()
for each type of accepted transformation.Additionally, a transformable objects
transformable
can be transformed by a transformationt
byt @ transformable
(__rmatmul__
callstransform()
).Methods
Transform this
TransformableMixin
by a givenTransformation
.- __rmatmul__(transformation: Transformation) T_co
Computes
transformable.transform(t)
when performingt @ transformable
for aTransformation
t
andTransformableMixin
transformable
.
- abstract transform(transformation: Transformation) T_co
Transform this
TransformableMixin
by a givenTransformation
.