vortex-scalar 0.53.0

Vortex Scalars
Documentation
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright the Vortex contributors

//! Scalar values and types for the Vortex system.
//!
//! This crate provides scalar types and values that can be used to represent individual data
//! elements in the Vortex array system. [`Scalar`]s are composed of a logical data type
//! ([`DType`](vortex_dtype::DType)) and a value ([`ScalarValue`]).

// TODO(connor): There are a lot of `From` and `TryFrom` conversions back and forth between
// `Option<T>`, `Vec<T>`, `Scalar`, `ScalarValue`, and `ListScalar`. This can be cleaned up /
// consolidated.

#![deny(missing_docs)]

#[cfg(feature = "arbitrary")]
pub mod arbitrary;
mod arrow;
mod bigint;
mod binary;
mod bool;
mod decimal;
mod display;
mod extension;
mod list;
mod null;
mod primitive;
mod proto;
mod pvalue;
mod scalar;
mod scalar_type;
mod scalar_value;
mod struct_;
#[cfg(test)]
mod tests;
mod utf8;

pub use bigint::*;
pub use binary::*;
pub use bool::*;
pub use decimal::*;
pub use extension::*;
pub use list::*;
pub use primitive::*;
pub use pvalue::*;
pub use scalar::*;
pub use scalar_type::*;
pub use scalar_value::*;
pub use struct_::*;
pub use utf8::*;