MCPcopy Create free account
hub / github.com/apache/arrow-rs / from_iter

Method from_iter

arrow-array/src/array/byte_array.rs:612–616  ·  view source on GitHub ↗
(iter: I)

Source from the content-addressed store, hash-verified

610 Ptr: AsRef<T::Native> + 'a,
611{
612 fn from_iter<I: IntoIterator<Item = &'a Option<Ptr>>>(iter: I) -> Self {
613 iter.into_iter()
614 .map(|o| o.as_ref().map(|p| p.as_ref()))
615 .collect()
616 }
617}
618
619impl<Ptr, T: ByteArrayType> FromIterator<Option<Ptr>> for GenericByteArray<T>

Callers

nothing calls this directly

Calls 6

collectMethod · 0.80
into_iterMethod · 0.45
as_refMethod · 0.45
size_hintMethod · 0.45
extendMethod · 0.45
finishMethod · 0.45

Tested by

no test coverage detected