[][src]Enum arrayfire::DType

#[repr(u32)]pub enum DType {
    F32,
    C32,
    F64,
    C64,
    B8,
    S32,
    U32,
    U8,
    S64,
    U64,
    S16,
    U16,
    F16,
}

Types of Array data type

Variants

F32

32 bit float

C32

32 bit complex float

F64

64 bit float

C64

64 bit complex float

B8

8 bit boolean

S32

32 bit signed integer

U32

32 bit unsigned integer

U8

8 bit unsigned integer

S64

64 bit signed integer

U64

64 bit unsigned integer

S16

16 bit signed integer

U16

16 bit unsigned integer

F16

16 bit floating point

Trait Implementations

impl Clone for DType[src]

impl Copy for DType[src]

impl Debug for DType[src]

impl From<u32> for DType[src]

impl PartialEq<DType> for DType[src]

impl StructuralPartialEq for DType[src]

Auto Trait Implementations

impl RefUnwindSafe for DType

impl Send for DType

impl Sync for DType

impl Unpin for DType

impl UnwindSafe for DType

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.