pub fn new(builder: &mut Builder, ty: Type, values: impl IntoIterator<Item = Value>) -> Self {
        builder.build_with(move |_, state| {
            for value in values {
                state.add_operand(value);
            }
            state.add_result(ty);
        })
    }
/// Create a new array value.
Create a new array value.
Create a new array value .
pub fn new(builder: &mut Builder, ty: Type, values: impl IntoIterator<Item = Value>) -> Self {
        builder.build_with(move |_, state| {
            for value in values {
                state.add_operand(value);
            }
            state.add_result(ty);
        })
    }
pub fn new ( builder : & mut Builder , ty : Type , values : impl IntoIterator < Item = Value > ) -> Self { builder . build_with ( move | _ , state | { for value in values { state . add_operand ( value ) ; } state . add_result ( ty ) ; } ) }
Create a new array value.
Create a new array value .
builder
&mut Builder
ty
Type
values
impl IntoIterator<Item = Value>
builder
&mut Builder
ty
Type
values
impl IntoIterator<Item = Value>