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

Method fmt

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

Source from the content-addressed store, hash-verified

454
455impl<T: ByteArrayType> std::fmt::Debug for GenericByteArray<T> {
456 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
457 write!(f, "{}{}Array\n[\n", T::Offset::PREFIX, T::PREFIX)?;
458 print_long_array(self, f, |array, index, f| {
459 std::fmt::Debug::fmt(&array.value(index), f)
460 })?;
461 write!(f, "]")
462 }
463}
464
465/// SAFETY: Correctly implements the contract of Arrow Arrays

Callers

nothing calls this directly

Calls 2

print_long_arrayFunction · 0.85
valueMethod · 0.45

Tested by

no test coverage detected