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

Method clone

arrow-array/src/array/byte_array.rs:95–102  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

93
94impl<T: ByteArrayType> Clone for GenericByteArray<T> {
95 fn clone(&self) -> Self {
96 Self {
97 data_type: T::DATA_TYPE,
98 value_offsets: self.value_offsets.clone(),
99 value_data: self.value_data.clone(),
100 nulls: self.nulls.clone(),
101 }
102 }
103}
104
105impl<T: ByteArrayType> GenericByteArray<T> {

Callers 3

sliceMethod · 0.45
to_dataMethod · 0.45
try_newFunction · 0.45

Calls

no outgoing calls

Tested by 1

try_newFunction · 0.36