Skip to main content

Dtype

Trait Dtype 

pub trait Dtype: Copy + Clone { }
Expand description

Base marker trait for all types that can flow through the system as tensor elements.

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§

§

impl Dtype for bool

§

impl Dtype for f32

§

impl Dtype for f64

§

impl Dtype for i8

§

impl Dtype for i16

§

impl Dtype for i32

§

impl Dtype for i64

§

impl Dtype for u8

§

impl Dtype for u16

§

impl Dtype for u32

§

impl Dtype for u64

Implementors§