pub unsafe fn from_trusted_len_values_iter_unchecked<I: Iterator<Item = T>>(iter: I) -> Self {
        Self {
            data_type: T::PRIMITIVE.into(),
            values: iter.collect(),
            validity: None,
        }
    }
/// Creates a new [`MutablePrimitiveArray`] from an iterator over values
/// # Safety
/// The iterator must be [`TrustedLen`](https://doc.rust-lang.org/std/iter/trait.TrustedLen.html).
/// I.e. that `size_hint().1` correctly reports its length.
Creates a new [`MutablePrimitiveArray`] from an iterator over values
Creates a new [ ` MutablePrimitiveArray ` ] from an iterator over values
pub unsafe fn from_trusted_len_values_iter_unchecked<I: Iterator<Item = T>>(iter: I) -> Self {
        Self {
            data_type: T::PRIMITIVE.into(),
            values: iter.collect(),
            validity: None,
        }
    }
pub unsafe fn from_trusted_len_values_iter_unchecked < I : Iterator < Item = T > > ( iter : I ) -> Self { Self { data_type : T :: PRIMITIVE . into ( ) , values : iter . collect ( ) , validity : None , } }
Creates a new [`MutablePrimitiveArray`] from an iterator over values
Creates a new [ ` MutablePrimitiveArray ` ] from an iterator over values
iter
I
iter
I
safety
The iterator must be [`TrustedLen`].
I.e. that `size_hint().1` correctly reports its length.
The iterator must be [ ` TrustedLen ` ] . I . e . that ` size_hint () . 1 ` correctly reports its length .