[][src]Trait arrayfire::ImplicitPromote

pub trait ImplicitPromote<RHS>: HasAfEnum {
    type Output: HasAfEnum;
}

This is an internal trait defined and implemented by ArrayFire create for rust's built-in types to figure out the data type binary operation's results.

Associated Types

type Output: HasAfEnum

This type alias points to the type of the result obtained by performing a given binary option on given type and RHS.

Loading content...

Implementations on Foreign Types

impl ImplicitPromote<Complex<f64>> for f64[src]

type Output = c64

impl ImplicitPromote<Complex<f32>> for f64[src]

type Output = c64

impl ImplicitPromote<f32> for f64[src]

type Output = f64

impl ImplicitPromote<i64> for f64[src]

type Output = f64

impl ImplicitPromote<u64> for f64[src]

type Output = f64

impl ImplicitPromote<i32> for f64[src]

type Output = f64

impl ImplicitPromote<u32> for f64[src]

type Output = f64

impl ImplicitPromote<i16> for f64[src]

type Output = f64

impl ImplicitPromote<u16> for f64[src]

type Output = f64

impl ImplicitPromote<bool> for f64[src]

type Output = f64

impl ImplicitPromote<u8> for f64[src]

type Output = f64

impl ImplicitPromote<Complex<f64>> for f32[src]

type Output = c64

impl ImplicitPromote<Complex<f32>> for f32[src]

type Output = c32

impl ImplicitPromote<f64> for f32[src]

type Output = f64

impl ImplicitPromote<i64> for f32[src]

type Output = f32

impl ImplicitPromote<u64> for f32[src]

type Output = f32

impl ImplicitPromote<i32> for f32[src]

type Output = f32

impl ImplicitPromote<u32> for f32[src]

type Output = f32

impl ImplicitPromote<i16> for f32[src]

type Output = f32

impl ImplicitPromote<u16> for f32[src]

type Output = f32

impl ImplicitPromote<bool> for f32[src]

type Output = f32

impl ImplicitPromote<u8> for f32[src]

type Output = f32

impl ImplicitPromote<Complex<f64>> for i64[src]

type Output = c64

impl ImplicitPromote<Complex<f32>> for i64[src]

type Output = c32

impl ImplicitPromote<f64> for i64[src]

type Output = f64

impl ImplicitPromote<f32> for i64[src]

type Output = f32

impl ImplicitPromote<u64> for i64[src]

type Output = u64

impl ImplicitPromote<i32> for i64[src]

type Output = i64

impl ImplicitPromote<u32> for i64[src]

type Output = i64

impl ImplicitPromote<i16> for i64[src]

type Output = i64

impl ImplicitPromote<u16> for i64[src]

type Output = i64

impl ImplicitPromote<bool> for i64[src]

type Output = i64

impl ImplicitPromote<u8> for i64[src]

type Output = i64

impl ImplicitPromote<Complex<f64>> for u64[src]

type Output = c64

impl ImplicitPromote<Complex<f32>> for u64[src]

type Output = c32

impl ImplicitPromote<f64> for u64[src]

type Output = f64

impl ImplicitPromote<f32> for u64[src]

type Output = f32

impl ImplicitPromote<i64> for u64[src]

type Output = u64

impl ImplicitPromote<i32> for u64[src]

type Output = u64

impl ImplicitPromote<u32> for u64[src]

type Output = u64

impl ImplicitPromote<i16> for u64[src]

type Output = u64

impl ImplicitPromote<u16> for u64[src]

type Output = u64

impl ImplicitPromote<bool> for u64[src]

type Output = u64

impl ImplicitPromote<u8> for u64[src]

type Output = u64

impl ImplicitPromote<Complex<f64>> for i32[src]

type Output = c64

impl ImplicitPromote<Complex<f32>> for i32[src]

type Output = c32

impl ImplicitPromote<f64> for i32[src]

type Output = f64

impl ImplicitPromote<f32> for i32[src]

type Output = f32

impl ImplicitPromote<i64> for i32[src]

type Output = i64

impl ImplicitPromote<u64> for i32[src]

type Output = u64

impl ImplicitPromote<u32> for i32[src]

type Output = u32

impl ImplicitPromote<i16> for i32[src]

type Output = i32

impl ImplicitPromote<u16> for i32[src]

type Output = i32

impl ImplicitPromote<bool> for i32[src]

type Output = i32

impl ImplicitPromote<u8> for i32[src]

type Output = i32

impl ImplicitPromote<Complex<f64>> for u32[src]

type Output = c64

impl ImplicitPromote<Complex<f32>> for u32[src]

type Output = c32

impl ImplicitPromote<f64> for u32[src]

type Output = f64

impl ImplicitPromote<f32> for u32[src]

type Output = f32

impl ImplicitPromote<i64> for u32[src]

type Output = i64

impl ImplicitPromote<u64> for u32[src]

type Output = u64

impl ImplicitPromote<i32> for u32[src]

type Output = u32

impl ImplicitPromote<i16> for u32[src]

type Output = u32

impl ImplicitPromote<u16> for u32[src]

type Output = u32

impl ImplicitPromote<bool> for u32[src]

type Output = u32

impl ImplicitPromote<u8> for u32[src]

type Output = u32

impl ImplicitPromote<Complex<f64>> for i16[src]

type Output = c64

impl ImplicitPromote<Complex<f32>> for i16[src]

type Output = c32

impl ImplicitPromote<f64> for i16[src]

type Output = f64

impl ImplicitPromote<f32> for i16[src]

type Output = f32

impl ImplicitPromote<i64> for i16[src]

type Output = i64

impl ImplicitPromote<u64> for i16[src]

type Output = u64

impl ImplicitPromote<i32> for i16[src]

type Output = i32

impl ImplicitPromote<u32> for i16[src]

type Output = u32

impl ImplicitPromote<u16> for i16[src]

type Output = u16

impl ImplicitPromote<bool> for i16[src]

type Output = u16

impl ImplicitPromote<u8> for i16[src]

type Output = u16

impl ImplicitPromote<Complex<f64>> for u16[src]

type Output = c64

impl ImplicitPromote<Complex<f32>> for u16[src]

type Output = c32

impl ImplicitPromote<f64> for u16[src]

type Output = f64

impl ImplicitPromote<f32> for u16[src]

type Output = f32

impl ImplicitPromote<i64> for u16[src]

type Output = i64

impl ImplicitPromote<u64> for u16[src]

type Output = u64

impl ImplicitPromote<i32> for u16[src]

type Output = i32

impl ImplicitPromote<u32> for u16[src]

type Output = u32

impl ImplicitPromote<i16> for u16[src]

type Output = u16

impl ImplicitPromote<bool> for u16[src]

type Output = u16

impl ImplicitPromote<u8> for u16[src]

type Output = u16

impl ImplicitPromote<Complex<f64>> for u8[src]

type Output = c64

impl ImplicitPromote<Complex<f32>> for u8[src]

type Output = c32

impl ImplicitPromote<f64> for u8[src]

type Output = f64

impl ImplicitPromote<f32> for u8[src]

type Output = f32

impl ImplicitPromote<i64> for u8[src]

type Output = i64

impl ImplicitPromote<u64> for u8[src]

type Output = u64

impl ImplicitPromote<i32> for u8[src]

type Output = i32

impl ImplicitPromote<u32> for u8[src]

type Output = u32

impl ImplicitPromote<i16> for u8[src]

type Output = i16

impl ImplicitPromote<u16> for u8[src]

type Output = u16

impl ImplicitPromote<bool> for u8[src]

type Output = u8

impl ImplicitPromote<Complex<f64>> for bool[src]

type Output = c64

impl ImplicitPromote<Complex<f32>> for bool[src]

type Output = c32

impl ImplicitPromote<f64> for bool[src]

type Output = f64

impl ImplicitPromote<f32> for bool[src]

type Output = f32

impl ImplicitPromote<i64> for bool[src]

type Output = i64

impl ImplicitPromote<u64> for bool[src]

type Output = u64

impl ImplicitPromote<i32> for bool[src]

type Output = i32

impl ImplicitPromote<u32> for bool[src]

type Output = u32

impl ImplicitPromote<i16> for bool[src]

type Output = i16

impl ImplicitPromote<u16> for bool[src]

type Output = u16

impl ImplicitPromote<u8> for bool[src]

type Output = u8

Loading content...

Implementors

impl ImplicitPromote<bool> for c32[src]

type Output = c32

impl ImplicitPromote<bool> for c64[src]

type Output = c64

impl ImplicitPromote<f32> for c32[src]

type Output = c32

impl ImplicitPromote<f32> for c64[src]

type Output = c64

impl ImplicitPromote<f64> for c32[src]

type Output = c64

impl ImplicitPromote<f64> for c64[src]

type Output = c64

impl ImplicitPromote<i16> for c32[src]

type Output = c32

impl ImplicitPromote<i16> for c64[src]

type Output = c64

impl ImplicitPromote<i32> for c32[src]

type Output = c32

impl ImplicitPromote<i32> for c64[src]

type Output = c64

impl ImplicitPromote<i64> for c32[src]

type Output = c32

impl ImplicitPromote<i64> for c64[src]

type Output = c64

impl ImplicitPromote<u8> for c32[src]

type Output = c32

impl ImplicitPromote<u8> for c64[src]

type Output = c64

impl ImplicitPromote<u16> for c32[src]

type Output = c32

impl ImplicitPromote<u16> for c64[src]

type Output = c64

impl ImplicitPromote<u32> for c32[src]

type Output = c32

impl ImplicitPromote<u32> for c64[src]

type Output = c64

impl ImplicitPromote<u64> for c32[src]

type Output = c32

impl ImplicitPromote<u64> for c64[src]

type Output = c64

impl ImplicitPromote<Complex<f32>> for c64[src]

type Output = c64

impl ImplicitPromote<Complex<f64>> for c32[src]

type Output = c64

impl<T> ImplicitPromote<T> for T where
    T: HasAfEnum
[src]

type Output = T

Loading content...