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

Method from_iter

arrow-array/src/array/byte_view_array.rs:1064–1068  ·  view source on GitHub ↗
(iter: I)

Source from the content-addressed store, hash-verified

1062 T: ByteViewType + ?Sized,
1063{
1064 fn from_iter<I: IntoIterator<Item = &'a Option<Ptr>>>(iter: I) -> Self {
1065 iter.into_iter()
1066 .map(|o| o.as_ref().map(|p| p.as_ref()))
1067 .collect()
1068 }
1069}
1070
1071impl<Ptr, T: ByteViewType + ?Sized> FromIterator<Option<Ptr>> for GenericByteViewArray<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