arrow_cast::cast

Function bool_to_numeric_cast

Source
fn bool_to_numeric_cast<T>(
    from: &BooleanArray,
    _cast_options: &CastOptions<'_>,
) -> PrimitiveArray<T>
where T: ArrowPrimitiveType, T::Native: NumCast,