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

Method fmt

arrow-array/src/array/list_array.rs:660–668  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter)

Source from the content-addressed store, hash-verified

658
659impl<OffsetSize: OffsetSizeTrait> std::fmt::Debug for GenericListArray<OffsetSize> {
660 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
661 let prefix = OffsetSize::PREFIX;
662
663 write!(f, "{prefix}ListArray\n[\n")?;
664 print_long_array(self, f, |array, index, f| {
665 std::fmt::Debug::fmt(&array.value(index), f)
666 })?;
667 write!(f, "]")
668 }
669}
670
671/// A [`GenericListArray`] of variable size lists, storing offsets as `i32`.

Callers

nothing calls this directly

Calls 2

print_long_arrayFunction · 0.85
valueMethod · 0.45

Tested by

no test coverage detected