Trait SperrElement

Source
pub trait SperrElement: Element + Zero {
    const DTYPE: SperrDType;
}
Expand description

Array element types which can be compressed with SPERR.

Required Associated Constants§

Source

const DTYPE: SperrDType

The dtype representation of the type

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 SperrElement for f32

Source§

const DTYPE: SperrDType = SperrDType::F32

Source§

impl SperrElement for f64

Source§

const DTYPE: SperrDType = SperrDType::F64

Implementors§