fn const_struct_field(val: ValueRef, ix: usize) -> ValueRef {
    // Get the ix-th non-undef element of the struct.
    let mut real_ix = 0; // actual position in the struct
    let mut ix = ix; // logical index relative to real_ix
    let mut field;
    loop {
        loop {
            field = const_get_elt(val, &[real_ix]);
            if !is_undef(field) {
                break;
            }
            real_ix = real_ix + 1;
        }
        if ix == 0 {
            return field;
        }
        ix = ix - 1;
        real_ix = real_ix + 1;
    }
}
/// Extract field of struct-like const, skipping our alignment padding.
Extract field of struct-like const, skipping our alignment padding.
Extract field of struct - like const skipping our alignment padding .
fn const_struct_field(val: ValueRef, ix: usize) -> ValueRef {
    // Get the ix-th non-undef element of the struct.
    let mut real_ix = 0; // actual position in the struct
    let mut ix = ix; // logical index relative to real_ix
    let mut field;
    loop {
        loop {
            field = const_get_elt(val, &[real_ix]);
            if !is_undef(field) {
                break;
            }
            real_ix = real_ix + 1;
        }
        if ix == 0 {
            return field;
        }
        ix = ix - 1;
        real_ix = real_ix + 1;
    }
}
fn const_struct_field ( val : ValueRef , ix : usize ) -> ValueRef { // Get the ix-th non-undef element of the struct. let mut real_ix = 0 ; // actual position in the struct let mut ix = ix ; // logical index relative to real_ix let mut field ; loop { loop { field = const_get_elt ( val , & [ real_ix ] ) ; if ! is_undef ( field ) { break ; } real_ix = real_ix + 1 ; } if ix == 0 { return field ; } ix = ix - 1 ; real_ix = real_ix + 1 ; } }
Extract field of struct-like const, skipping our alignment padding.
Extract field of struct - like const skipping our alignment padding .
val
ValueRef
ix
usize
val
ValueRef
ix
usize