cast_pvector

Function cast_pvector 

Source
pub fn cast_pvector<Src: NativePType, Dst: NativePType>(
    src: &PVector<Src>,
) -> VortexResult<PVector<Dst>>
Expand description

Cast a PVector<Src> to a PVector<Dst> by converting each element.

ยงErrors

Returns an error if any valid element cannot be converted (e.g., overflow).