Function aggregate_field_index

Source
fn aggregate_field_index(
    base_ty: &Ty,
    field: &str,
    structs: &[MirStructDecl],
) -> Result<usize, LowerError>
Expand description

Return one aggregate field index by tuple index or struct declaration order.