pub fn new_scalar(array: &dyn Array, index: usize) -> Box<dyn Scalar>
creates a new Scalar from an Array.
Scalar
Array