numcodecs

Trait ArrayDType

Source
pub trait ArrayDType: Sealed {
    type RawData<T: AnyRawData>: RawData<Elem = Self>;

    const DTYPE: AnyArrayDType;
}
Expand description

Types which are included in AnyArrayDType

Required Associated Constants§

Source

const DTYPE: AnyArrayDType

AnyArrayDType representation of this type

Required Associated Types§

Source

type RawData<T: AnyRawData>: RawData<Elem = Self>

Representation for an ArrayBase containing this 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 ArrayDType for f32

Source§

const DTYPE: AnyArrayDType = AnyArrayDType::F32

Source§

type RawData<T: AnyRawData> = <T as AnyRawData>::F32

Source§

impl ArrayDType for f64

Source§

const DTYPE: AnyArrayDType = AnyArrayDType::F64

Source§

type RawData<T: AnyRawData> = <T as AnyRawData>::F64

Source§

impl ArrayDType for i8

Source§

const DTYPE: AnyArrayDType = AnyArrayDType::I8

Source§

type RawData<T: AnyRawData> = <T as AnyRawData>::I8

Source§

impl ArrayDType for i16

Source§

const DTYPE: AnyArrayDType = AnyArrayDType::I16

Source§

type RawData<T: AnyRawData> = <T as AnyRawData>::I16

Source§

impl ArrayDType for i32

Source§

const DTYPE: AnyArrayDType = AnyArrayDType::I32

Source§

type RawData<T: AnyRawData> = <T as AnyRawData>::I32

Source§

impl ArrayDType for i64

Source§

const DTYPE: AnyArrayDType = AnyArrayDType::I64

Source§

type RawData<T: AnyRawData> = <T as AnyRawData>::I64

Source§

impl ArrayDType for u8

Source§

const DTYPE: AnyArrayDType = AnyArrayDType::U8

Source§

type RawData<T: AnyRawData> = <T as AnyRawData>::U8

Source§

impl ArrayDType for u16

Source§

const DTYPE: AnyArrayDType = AnyArrayDType::U16

Source§

type RawData<T: AnyRawData> = <T as AnyRawData>::U16

Source§

impl ArrayDType for u32

Source§

const DTYPE: AnyArrayDType = AnyArrayDType::U32

Source§

type RawData<T: AnyRawData> = <T as AnyRawData>::U32

Source§

impl ArrayDType for u64

Source§

const DTYPE: AnyArrayDType = AnyArrayDType::U64

Source§

type RawData<T: AnyRawData> = <T as AnyRawData>::U64

Implementors§