Crate vortex_dtype
source ·Expand description
A type system for Vortex
This crate contains the core logical type system for Vortex, including the definition of data types, and (optionally) logic for their serialization and deserialization.
Re-exports§
pub use half;
Modules§
- Selectors for fields in (possibly nested)
StructDType
s - Flatbuffer representations for DTypes
- Protocol buffer representations for DTypes
Macros§
- Macro to match over each floating point type, binding the corresponding native type (from
NativePType
) - Macro to match over each integer PType, binding the corresponding native type (from
NativePType
) - Macro to match over each PType, binding the corresponding native type (from
NativePType
) - Macro to match over each unsigned integer type, binding the corresponding native type (from
NativePType
)
Structs§
- A type descriptor for an extension type
- A unique identifier for an extension type
- Opaque metadata for an extension type
- Information about a field in a struct dtype
- A struct dtype is a list of names and corresponding dtypes
Enums§
- The logical types of elements in Vortex arrays.
- Whether an instance of a DType can be `null or not
- Physical type enum, represents the in-memory physical layout but might represent a different logical type.
Traits§
- A trait for native Rust types that correspond 1:1 to a PType
- A trait for types that can be converted to a little-endian byte slice
- A trait for types that can be converted from a little-endian byte slice
Type Aliases§
- A name for a field in a struct
- An ordered list of field names in a struct