numcodecs_sz3

Trait Sz3Element

Source
pub trait Sz3Element: Copy + SZ3Compressible {
    const DTYPE: Sz3DType;
}
Expand description

Array element types which can be compressed with SZ3.

Required Associated Constants§

Source

const DTYPE: Sz3DType

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

Source§

const DTYPE: Sz3DType = Sz3DType::F32

Source§

impl Sz3Element for f64

Source§

const DTYPE: Sz3DType = Sz3DType::F64

Source§

impl Sz3Element for i32

Source§

const DTYPE: Sz3DType = Sz3DType::I32

Source§

impl Sz3Element for i64

Source§

const DTYPE: Sz3DType = Sz3DType::I64

Implementors§