Skip to main content

BoolDType

Type Alias BoolDType 

Source
pub type BoolDType = BoolStore;
Expand description

Boolean dtype.

This is currently an alias to BoolStore, since it only varies by the storage representation.

Aliased Type§

pub enum BoolDType {
    Native,
    U8,
    U32,
}

Variants§

§

Native

Stored as native boolean type (e.g. bool).

§

U8

Stored as 8-bit unsigned integer.

§

U32

Stored as 32-bit unsigned integer.

Trait Implementations§

Source§

impl From<DType> for BoolDType

Source§

fn from(value: DType) -> Self

Converts to this type from the input type.