Override the field passed to [`GenericListArray::new`] By default a nullable field is created with the name `item` Note: [`Self::finish`] and [`Self::finish_cloned`] will panic if the field's data type does not match that of `T`
(self, field: impl Into<FieldRef>)
| 125 | /// Note: [`Self::finish`] and [`Self::finish_cloned`] will panic if the |
| 126 | /// field's data type does not match that of `T` |
| 127 | pub fn with_field(self, field: impl Into<FieldRef>) -> Self { |
| 128 | Self { |
| 129 | field: Some(field.into()), |
| 130 | ..self |
| 131 | } |
| 132 | } |
| 133 | } |
| 134 | |
| 135 | impl<OffsetSize: OffsetSizeTrait, T: ArrayBuilder> ArrayBuilder |
no outgoing calls