pub trait ScalarType {
// Required method
fn dtype() -> DType;
}
Expand description
A trait for types that can be used as scalar values.
This trait is implemented by native Rust types that can be converted to and from Vortex scalar values.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.