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

Method as_any

arrow-array/src/array/primitive_array.rs:1191–1193  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1189/// SAFETY: Correctly implements the contract of Arrow Arrays
1190unsafe impl<T: ArrowPrimitiveType> Array for PrimitiveArray<T> {
1191 fn as_any(&self) -> &dyn Any {
1192 self
1193 }
1194
1195 fn to_data(&self) -> ArrayData {
1196 self.clone().into()

Callers 2

test_boolean_array_sliceFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_boolean_array_sliceFunction · 0.36