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

Method iter

arrow-schema/src/fields.rs:555–557  ·  view source on GitHub ↗

Returns an iterator over the fields and type ids in this [`UnionFields`]

(&self)

Source from the content-addressed store, hash-verified

553
554 /// Returns an iterator over the fields and type ids in this [`UnionFields`]
555 pub fn iter(&self) -> impl Iterator<Item = (i8, &FieldRef)> + '_ {
556 self.0.iter().map(|(id, f)| (*id, f))
557 }
558
559 /// Returns a reference to the field at the given index, or `None` if out of bounds.
560 ///

Callers 15

criterion_benchmarkFunction · 0.45
release_schemaFunction · 0.45
try_fromMethod · 0.45
get_format_stringFunction · 0.45
equals_datatypeMethod · 0.45
containsMethod · 0.45
serde_struct_typeFunction · 0.45
_fieldsMethod · 0.45
try_mergeMethod · 0.45
containsMethod · 0.45
sizeMethod · 0.45
fmtMethod · 0.45

Calls

no outgoing calls

Tested by 15

schema_equalityFunction · 0.36
test_slices_fuzzFunction · 0.36
test_binary_viewFunction · 0.36
test_struct_with_nullsFunction · 0.36
test_interleave_viewsFunction · 0.36