pub fn try_from_iter<P: AsRef<[u8]>, I: IntoIterator<Item = Option<P>>>(
        iter: I,
        size: usize,
    ) -> Result<Self> {
        let iterator = iter.into_iter();
        let (lower, _) = iterator.size_hint();
        let mut primitive = Self::with_capacity(size, lower);
        for item in iterator {
            primitive.try_push(item)?
        }
        Ok(primitive)
    }
/// Creates a new [`MutableFixedSizeBinaryArray`] from an iterator of values.
/// # Errors
/// Errors iff the size of any of the `value` is not equal to its own size.
Creates a new [`MutableFixedSizeBinaryArray`] from an iterator of values.
Creates a new [ ` MutableFixedSizeBinaryArray ` ] from an iterator of values .
pub fn try_from_iter<P: AsRef<[u8]>, I: IntoIterator<Item = Option<P>>>(
        iter: I,
        size: usize,
    ) -> Result<Self> {
        let iterator = iter.into_iter();
        let (lower, _) = iterator.size_hint();
        let mut primitive = Self::with_capacity(size, lower);
        for item in iterator {
            primitive.try_push(item)?
        }
        Ok(primitive)
    }
pub fn try_from_iter < P : AsRef < [ u8 ] > , I : IntoIterator < Item = Option < P > > > ( iter : I , size : usize , ) -> Result < Self > { let iterator = iter . into_iter ( ) ; let ( lower , _ ) = iterator . size_hint ( ) ; let mut primitive = Self :: with_capacity ( size , lower ) ; for item in iterator { primitive . try_push ( item ) ? } Ok ( primitive ) }
Creates a new [`MutableFixedSizeBinaryArray`] from an iterator of values.
Creates a new [ ` MutableFixedSizeBinaryArray ` ] from an iterator of values .
iter
I
size
usize
iter
I
size
usize
errors
Errors iff the size of any of the `value` is not equal to its own size.
Errors iff the size of any of the ` value ` is not equal to its own size .