Cast an opaque value to a specific type.
This operation is unsafe because there is no guarantee that the opaque
value is of type α
or it its rea; value can soundly fit inside the
opaque value's universe.
Equations
- self.cast = unsafeCast self
Instances For
@[reducible, inline]
Like cast
, but with an explicit type.
Equations
- POpaque.castTo α self = self.cast