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

Method as_any

arrow-array/src/array/union_array.rs:747–749  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

745/// SAFETY: Correctly implements the contract of Arrow Arrays
746unsafe impl Array for UnionArray {
747 fn as_any(&self) -> &dyn Any {
748 self
749 }
750
751 fn to_data(&self) -> ArrayData {
752 self.clone().into()

Callers 10

test_dense_i32Function · 0.45
test_dense_mixedFunction · 0.45
test_sparse_i32Function · 0.45
test_sparse_mixedFunction · 0.45
test_slice_unionFunction · 0.45

Calls

no outgoing calls

Tested by 10

test_dense_i32Function · 0.36
test_dense_mixedFunction · 0.36
test_sparse_i32Function · 0.36
test_sparse_mixedFunction · 0.36
test_slice_unionFunction · 0.36