Trait ElementwiseAdd

Source
pub trait ElementwiseAdd<RHS = Self> {
    // Required method
    fn elementwise_add(&self, other: &RHS) -> Self;
}

Required Methods§

Source

fn elementwise_add(&self, other: &RHS) -> Self

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 ElementwiseAdd for f32

Source§

fn elementwise_add(&self, other: &f32) -> f32

Source§

impl ElementwiseAdd for f64

Source§

fn elementwise_add(&self, other: &f64) -> f64

Source§

impl ElementwiseAdd for i8

Source§

fn elementwise_add(&self, other: &i8) -> i8

Source§

impl ElementwiseAdd for i16

Source§

fn elementwise_add(&self, other: &i16) -> i16

Source§

impl ElementwiseAdd for i32

Source§

fn elementwise_add(&self, other: &i32) -> i32

Source§

impl ElementwiseAdd for i64

Source§

fn elementwise_add(&self, other: &i64) -> i64

Source§

impl ElementwiseAdd for isize

Source§

fn elementwise_add(&self, other: &isize) -> isize

Source§

impl ElementwiseAdd for u8

Source§

fn elementwise_add(&self, other: &u8) -> u8

Source§

impl ElementwiseAdd for u16

Source§

fn elementwise_add(&self, other: &u16) -> u16

Source§

impl ElementwiseAdd for u32

Source§

fn elementwise_add(&self, other: &u32) -> u32

Source§

impl ElementwiseAdd for u64

Source§

fn elementwise_add(&self, other: &u64) -> u64

Source§

impl ElementwiseAdd for usize

Source§

fn elementwise_add(&self, other: &usize) -> usize

Source§

impl<T1, T2> ElementwiseAdd for (T1, T2)
where T1: Copy + Add<Output = T1>, T2: Copy + Add<Output = T2>,

Source§

impl<T1, T2, T3> ElementwiseAdd for (T1, T2, T3)
where T1: Copy + Add<Output = T1>, T2: Copy + Add<Output = T2>, T3: Copy + Add<Output = T3>,

Source§

impl<T1, T2, T3, T4> ElementwiseAdd for (T1, T2, T3, T4)
where T1: Copy + Add<Output = T1>, T2: Copy + Add<Output = T2>, T3: Copy + Add<Output = T3>, T4: Copy + Add<Output = T4>,

Source§

impl<T1, T2, T3, T4, T5> ElementwiseAdd for (T1, T2, T3, T4, T5)
where T1: Copy + Add<Output = T1>, T2: Copy + Add<Output = T2>, T3: Copy + Add<Output = T3>, T4: Copy + Add<Output = T4>, T5: Copy + Add<Output = T5>,

Source§

impl<T1, T2, T3, T4, T5, T6> ElementwiseAdd for (T1, T2, T3, T4, T5, T6)
where T1: Copy + Add<Output = T1>, T2: Copy + Add<Output = T2>, T3: Copy + Add<Output = T3>, T4: Copy + Add<Output = T4>, T5: Copy + Add<Output = T5>, T6: Copy + Add<Output = T6>,

Source§

impl<T1, T2, T3, T4, T5, T6, T7> ElementwiseAdd for (T1, T2, T3, T4, T5, T6, T7)
where T1: Copy + Add<Output = T1>, T2: Copy + Add<Output = T2>, T3: Copy + Add<Output = T3>, T4: Copy + Add<Output = T4>, T5: Copy + Add<Output = T5>, T6: Copy + Add<Output = T6>, T7: Copy + Add<Output = T7>,

Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8> ElementwiseAdd for (T1, T2, T3, T4, T5, T6, T7, T8)
where T1: Copy + Add<Output = T1>, T2: Copy + Add<Output = T2>, T3: Copy + Add<Output = T3>, T4: Copy + Add<Output = T4>, T5: Copy + Add<Output = T5>, T6: Copy + Add<Output = T6>, T7: Copy + Add<Output = T7>, T8: Copy + Add<Output = T8>,

Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9> ElementwiseAdd for (T1, T2, T3, T4, T5, T6, T7, T8, T9)
where T1: Copy + Add<Output = T1>, T2: Copy + Add<Output = T2>, T3: Copy + Add<Output = T3>, T4: Copy + Add<Output = T4>, T5: Copy + Add<Output = T5>, T6: Copy + Add<Output = T6>, T7: Copy + Add<Output = T7>, T8: Copy + Add<Output = T8>, T9: Copy + Add<Output = T9>,

Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> ElementwiseAdd for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
where T1: Copy + Add<Output = T1>, T2: Copy + Add<Output = T2>, T3: Copy + Add<Output = T3>, T4: Copy + Add<Output = T4>, T5: Copy + Add<Output = T5>, T6: Copy + Add<Output = T6>, T7: Copy + Add<Output = T7>, T8: Copy + Add<Output = T8>, T9: Copy + Add<Output = T9>, T10: Copy + Add<Output = T10>,

Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> ElementwiseAdd for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
where T1: Copy + Add<Output = T1>, T2: Copy + Add<Output = T2>, T3: Copy + Add<Output = T3>, T4: Copy + Add<Output = T4>, T5: Copy + Add<Output = T5>, T6: Copy + Add<Output = T6>, T7: Copy + Add<Output = T7>, T8: Copy + Add<Output = T8>, T9: Copy + Add<Output = T9>, T10: Copy + Add<Output = T10>, T11: Copy + Add<Output = T11>,

Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> ElementwiseAdd for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)
where T1: Copy + Add<Output = T1>, T2: Copy + Add<Output = T2>, T3: Copy + Add<Output = T3>, T4: Copy + Add<Output = T4>, T5: Copy + Add<Output = T5>, T6: Copy + Add<Output = T6>, T7: Copy + Add<Output = T7>, T8: Copy + Add<Output = T8>, T9: Copy + Add<Output = T9>, T10: Copy + Add<Output = T10>, T11: Copy + Add<Output = T11>, T12: Copy + Add<Output = T12>,

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 1]

Source§

fn elementwise_add(&self, other: &[T; 1]) -> [T; 1]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 2]

Source§

fn elementwise_add(&self, other: &[T; 2]) -> [T; 2]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 3]

Source§

fn elementwise_add(&self, other: &[T; 3]) -> [T; 3]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 4]

Source§

fn elementwise_add(&self, other: &[T; 4]) -> [T; 4]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 5]

Source§

fn elementwise_add(&self, other: &[T; 5]) -> [T; 5]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 6]

Source§

fn elementwise_add(&self, other: &[T; 6]) -> [T; 6]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 7]

Source§

fn elementwise_add(&self, other: &[T; 7]) -> [T; 7]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 8]

Source§

fn elementwise_add(&self, other: &[T; 8]) -> [T; 8]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 9]

Source§

fn elementwise_add(&self, other: &[T; 9]) -> [T; 9]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 10]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 11]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 12]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 13]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 14]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 15]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 16]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 17]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 18]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 19]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 20]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 21]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 22]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 23]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 24]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 25]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 26]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 27]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 28]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 29]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 30]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 31]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for [T; 32]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for LinkedList<T>

Source§

fn elementwise_add(&self, other: &LinkedList<T>) -> LinkedList<T>

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for VecDeque<T>

Source§

fn elementwise_add(&self, other: &VecDeque<T>) -> VecDeque<T>

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd for Vec<T>

Source§

fn elementwise_add(&self, other: &Vec<T>) -> Vec<T>

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 1]

Source§

fn elementwise_add(&self, other: &T) -> [T; 1]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 2]

Source§

fn elementwise_add(&self, other: &T) -> [T; 2]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 3]

Source§

fn elementwise_add(&self, other: &T) -> [T; 3]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 4]

Source§

fn elementwise_add(&self, other: &T) -> [T; 4]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 5]

Source§

fn elementwise_add(&self, other: &T) -> [T; 5]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 6]

Source§

fn elementwise_add(&self, other: &T) -> [T; 6]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 7]

Source§

fn elementwise_add(&self, other: &T) -> [T; 7]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 8]

Source§

fn elementwise_add(&self, other: &T) -> [T; 8]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 9]

Source§

fn elementwise_add(&self, other: &T) -> [T; 9]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 10]

Source§

fn elementwise_add(&self, other: &T) -> [T; 10]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 11]

Source§

fn elementwise_add(&self, other: &T) -> [T; 11]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 12]

Source§

fn elementwise_add(&self, other: &T) -> [T; 12]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 13]

Source§

fn elementwise_add(&self, other: &T) -> [T; 13]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 14]

Source§

fn elementwise_add(&self, other: &T) -> [T; 14]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 15]

Source§

fn elementwise_add(&self, other: &T) -> [T; 15]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 16]

Source§

fn elementwise_add(&self, other: &T) -> [T; 16]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 17]

Source§

fn elementwise_add(&self, other: &T) -> [T; 17]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 18]

Source§

fn elementwise_add(&self, other: &T) -> [T; 18]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 19]

Source§

fn elementwise_add(&self, other: &T) -> [T; 19]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 20]

Source§

fn elementwise_add(&self, other: &T) -> [T; 20]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 21]

Source§

fn elementwise_add(&self, other: &T) -> [T; 21]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 22]

Source§

fn elementwise_add(&self, other: &T) -> [T; 22]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 23]

Source§

fn elementwise_add(&self, other: &T) -> [T; 23]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 24]

Source§

fn elementwise_add(&self, other: &T) -> [T; 24]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 25]

Source§

fn elementwise_add(&self, other: &T) -> [T; 25]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 26]

Source§

fn elementwise_add(&self, other: &T) -> [T; 26]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 27]

Source§

fn elementwise_add(&self, other: &T) -> [T; 27]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 28]

Source§

fn elementwise_add(&self, other: &T) -> [T; 28]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 29]

Source§

fn elementwise_add(&self, other: &T) -> [T; 29]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 30]

Source§

fn elementwise_add(&self, other: &T) -> [T; 30]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 31]

Source§

fn elementwise_add(&self, other: &T) -> [T; 31]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for [T; 32]

Source§

fn elementwise_add(&self, other: &T) -> [T; 32]

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for LinkedList<T>

Source§

fn elementwise_add(&self, other: &T) -> LinkedList<T>

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for VecDeque<T>

Source§

fn elementwise_add(&self, other: &T) -> VecDeque<T>

Source§

impl<T: Copy + Add<Output = T>> ElementwiseAdd<T> for Vec<T>

Source§

fn elementwise_add(&self, other: &T) -> Vec<T>

Implementors§