Function struct_cast

Source
fn struct_cast(input: StructRef<'_>, ctx: &Context) -> Result<StructValue>
Expand description

Cast struct of source_elem_type to target_elem_type by casting each element.