Coerce
trait Coerce[t: Type]SourceA trait for type that can be coerced.
Currently only supports newtype-style wrappers.
Associated Types
type Aef: EffSourceThe associated effect of the Coerce instance.
The effect describes the effect of coercing a value of type t.
It is pure (i.e. {}) for the common case of newtype-style wrappers.
type Out: TypeSourceThe return type of the coerce function.