(&self, f: &mut std::fmt::Formatter)
| 553 | |
| 554 | impl std::fmt::Debug for StructArray { |
| 555 | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { |
| 556 | writeln!(f, "StructArray")?; |
| 557 | writeln!(f, "-- validity:")?; |
| 558 | writeln!(f, "[")?; |
| 559 | print_long_array(self, f, |_array, _index, f| write!(f, "valid"))?; |
| 560 | writeln!(f, "]\n[")?; |
| 561 | for (child_index, name) in self.column_names().iter().enumerate() { |
| 562 | let column = self.column(child_index); |
| 563 | writeln!( |
| 564 | f, |
| 565 | "-- child {}: \"{}\" ({:?})", |
| 566 | child_index, |
| 567 | name, |
| 568 | column.data_type() |
| 569 | )?; |
| 570 | std::fmt::Debug::fmt(column, f)?; |
| 571 | writeln!(f)?; |
| 572 | } |
| 573 | write!(f, "]") |
| 574 | } |
| 575 | } |
| 576 | |
| 577 | impl From<(Vec<(FieldRef, ArrayRef)>, Buffer)> for StructArray { |
nothing calls this directly
no test coverage detected