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

Method clone

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

Source from the content-addressed store, hash-verified

602
603impl<T: ArrowPrimitiveType> Clone for PrimitiveArray<T> {
604 fn clone(&self) -> Self {
605 Self {
606 data_type: self.data_type.clone(),
607 values: self.values.clone(),
608 nulls: self.nulls.clone(),
609 }
610 }
611}
612
613impl<T: ArrowPrimitiveType> PrimitiveArray<T> {

Callers 8

sliceMethod · 0.45
reinterpret_castMethod · 0.45
to_dataMethod · 0.45
test_decimal32Function · 0.45
test_decimal64Function · 0.45
test_decimal128Function · 0.45
test_decimal256Function · 0.45

Calls

no outgoing calls

Tested by 5

test_decimal32Function · 0.36
test_decimal64Function · 0.36
test_decimal128Function · 0.36
test_decimal256Function · 0.36