Skip to main content

ToScalarType

Trait ToScalarType 

Source
pub trait ToScalarType {
    // Required method
    fn scalar_type() -> ScalarType;
}

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.

Implementations on Foreign Types§

Source§

impl ToScalarType for f32

Source§

impl ToScalarType for f64

Implementors§