pub trait DType {
    fn dtype() -> NumberType;
}
Expand description

Define a NumberType for a non-Number type such as a Rust primitive.

To access the NumberType of a Number, use Instance::class, e.g. Number::from(1).class().

Required Methods

Implementations on Foreign Types

Implementors