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

Method clone

arrow-array/src/array/byte_view_array.rs:174–182  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

172
173impl<T: ByteViewType + ?Sized> Clone for GenericByteViewArray<T> {
174 fn clone(&self) -> Self {
175 Self {
176 data_type: T::DATA_TYPE,
177 views: self.views.clone(),
178 buffers: self.buffers.clone(),
179 nulls: self.nulls.clone(),
180 phantom: Default::default(),
181 }
182 }
183}
184
185impl<T: ByteViewType + ?Sized> GenericByteViewArray<T> {

Callers 6

sliceMethod · 0.45
gcMethod · 0.45
to_dataMethod · 0.45
fromMethod · 0.45
invalid_array_dataFunction · 0.45

Calls 1

defaultFunction · 0.85