polars_arrow::array

Function clone

Source
pub fn clone(array: &dyn Array) -> Box<dyn Array>
Expand description

Clones a dynamic Array.

ยงImplementation

This operation is O(1) over len, as it amounts to increase two ref counts and moving the concrete struct under a Box.