FromType
to ToType
- for types where conversion is always legal.
If done for wrong types would cause a compiler panic at the Sierra stage.
FromType
to ToType
- for types where conversion is always legal.
If done for wrong types would cause a compiler panic at the Sierra stage.
pub extern fn upcast(x: FromType) -> ToType nopanic;
Was this page helpful?