Trait enso_prelude::Add1.0.0[][src]

pub trait Add<Rhs = Self> {
    type Output;
    #[must_use]
    fn add(self, rhs: Rhs) -> Self::Output;
}
Expand description

The addition operator +.

Note that Rhs is Self by default, but this is not mandatory. For example, std::time::SystemTime implements Add<Duration>, which permits operations of the form SystemTime = SystemTime + Duration.

Examples

Addable points

use std::ops::Add;

#[derive(Debug, Copy, Clone, PartialEq)]
struct Point {
    x: i32,
    y: i32,
}

impl Add for Point {
    type Output = Self;

    fn add(self, other: Self) -> Self {
        Self {
            x: self.x + other.x,
            y: self.y + other.y,
        }
    }
}

assert_eq!(Point { x: 1, y: 0 } + Point { x: 2, y: 3 },
           Point { x: 3, y: 3 });

Implementing Add with generics

Here is an example of the same Point struct implementing the Add trait using generics.

use std::ops::Add;

#[derive(Debug, Copy, Clone, PartialEq)]
struct Point<T> {
    x: T,
    y: T,
}

// Notice that the implementation uses the associated type `Output`.
impl<T: Add<Output = T>> Add for Point<T> {
    type Output = Self;

    fn add(self, other: Self) -> Self::Output {
        Self {
            x: self.x + other.x,
            y: self.y + other.y,
        }
    }
}

assert_eq!(Point { x: 1, y: 0 } + Point { x: 2, y: 3 },
           Point { x: 3, y: 3 });

Associated Types

type Output[src]

The resulting type after applying the + operator.

Required methods

#[must_use]
fn add(self, rhs: Rhs) -> Self::Output
[src]

Performs the + operation.

Example

assert_eq!(12 + 1, 13);

Implementations on Foreign Types

impl Add<Duration> for Instant[src]

pub fn add(self, other: Duration) -> Instant[src]

Panics

This function may panic if the resulting point in time cannot be represented by the underlying data structure. See Instant::checked_add for a version without panic.

type Output = Instant

impl Add<Duration> for SystemTime[src]

pub fn add(self, dur: Duration) -> SystemTime[src]

Panics

This function may panic if the resulting point in time cannot be represented by the underlying data structure. See SystemTime::checked_add for a version without panic.

type Output = SystemTime

impl<'a> Add<Wrapping<usize>> for &'a Wrapping<usize>[src]

type Output = <Wrapping<usize> as Add<Wrapping<usize>>>::Output

pub fn add(
    self,
    other: Wrapping<usize>
) -> <Wrapping<usize> as Add<Wrapping<usize>>>::Output
[src]

impl<'_> Add<&'_ i128> for i128[src]

type Output = <i128 as Add<i128>>::Output

pub fn add(self, other: &i128) -> <i128 as Add<i128>>::Output[src]

impl<'_, '_> Add<&'_ Wrapping<usize>> for &'_ Wrapping<usize>[src]

type Output = <Wrapping<usize> as Add<Wrapping<usize>>>::Output

pub fn add(
    self,
    other: &Wrapping<usize>
) -> <Wrapping<usize> as Add<Wrapping<usize>>>::Output
[src]

impl Add<Wrapping<u64>> for Wrapping<u64>[src]

type Output = Wrapping<u64>

pub fn add(self, other: Wrapping<u64>) -> Wrapping<u64>[src]

impl<'a> Add<Wrapping<u16>> for &'a Wrapping<u16>[src]

type Output = <Wrapping<u16> as Add<Wrapping<u16>>>::Output

pub fn add(
    self,
    other: Wrapping<u16>
) -> <Wrapping<u16> as Add<Wrapping<u16>>>::Output
[src]

impl Add<Wrapping<u128>> for Wrapping<u128>[src]

type Output = Wrapping<u128>

pub fn add(self, other: Wrapping<u128>) -> Wrapping<u128>[src]

impl<'_, '_> Add<&'_ i8> for &'_ i8[src]

type Output = <i8 as Add<i8>>::Output

pub fn add(self, other: &i8) -> <i8 as Add<i8>>::Output[src]

impl<'a> Add<i8> for &'a i8[src]

type Output = <i8 as Add<i8>>::Output

pub fn add(self, other: i8) -> <i8 as Add<i8>>::Output[src]

impl<'_, '_> Add<&'_ i16> for &'_ i16[src]

type Output = <i16 as Add<i16>>::Output

pub fn add(self, other: &i16) -> <i16 as Add<i16>>::Output[src]

impl Add<f64> for f64[src]

type Output = f64

pub fn add(self, other: f64) -> f64[src]

impl<'_> Add<&'_ f64> for f64[src]

type Output = <f64 as Add<f64>>::Output

pub fn add(self, other: &f64) -> <f64 as Add<f64>>::Output[src]

impl<'a> Add<Wrapping<i128>> for &'a Wrapping<i128>[src]

type Output = <Wrapping<i128> as Add<Wrapping<i128>>>::Output

pub fn add(
    self,
    other: Wrapping<i128>
) -> <Wrapping<i128> as Add<Wrapping<i128>>>::Output
[src]

impl Add<Wrapping<u8>> for Wrapping<u8>[src]

type Output = Wrapping<u8>

pub fn add(self, other: Wrapping<u8>) -> Wrapping<u8>[src]

impl Add<u32> for u32[src]

type Output = u32

pub fn add(self, other: u32) -> u32[src]

impl<'a> Add<Wrapping<u8>> for &'a Wrapping<u8>[src]

type Output = <Wrapping<u8> as Add<Wrapping<u8>>>::Output

pub fn add(
    self,
    other: Wrapping<u8>
) -> <Wrapping<u8> as Add<Wrapping<u8>>>::Output
[src]

impl Add<Duration> for Duration[src]

type Output = Duration

pub fn add(self, rhs: Duration) -> Duration[src]

impl<'_> Add<&'_ f32> for f32[src]

type Output = <f32 as Add<f32>>::Output

pub fn add(self, other: &f32) -> <f32 as Add<f32>>::Output[src]

impl<'_, '_> Add<&'_ usize> for &'_ usize[src]

type Output = <usize as Add<usize>>::Output

pub fn add(self, other: &usize) -> <usize as Add<usize>>::Output[src]

impl Add<i64> for i64[src]

type Output = i64

pub fn add(self, other: i64) -> i64[src]

impl<'a> Add<u64> for &'a u64[src]

type Output = <u64 as Add<u64>>::Output

pub fn add(self, other: u64) -> <u64 as Add<u64>>::Output[src]

impl<'_, '_> Add<&'_ Wrapping<u8>> for &'_ Wrapping<u8>[src]

type Output = <Wrapping<u8> as Add<Wrapping<u8>>>::Output

pub fn add(
    self,
    other: &Wrapping<u8>
) -> <Wrapping<u8> as Add<Wrapping<u8>>>::Output
[src]

impl<'_> Add<&'_ i64> for i64[src]

type Output = <i64 as Add<i64>>::Output

pub fn add(self, other: &i64) -> <i64 as Add<i64>>::Output[src]

impl Add<i16> for i16[src]

type Output = i16

pub fn add(self, other: i16) -> i16[src]

impl<'_> Add<&'_ Wrapping<i128>> for Wrapping<i128>[src]

type Output = <Wrapping<i128> as Add<Wrapping<i128>>>::Output

pub fn add(
    self,
    other: &Wrapping<i128>
) -> <Wrapping<i128> as Add<Wrapping<i128>>>::Output
[src]

impl<'a> Add<f32> for &'a f32[src]

type Output = <f32 as Add<f32>>::Output

pub fn add(self, other: f32) -> <f32 as Add<f32>>::Output[src]

impl<'a> Add<i32> for &'a i32[src]

type Output = <i32 as Add<i32>>::Output

pub fn add(self, other: i32) -> <i32 as Add<i32>>::Output[src]

impl<'a> Add<i128> for &'a i128[src]

type Output = <i128 as Add<i128>>::Output

pub fn add(self, other: i128) -> <i128 as Add<i128>>::Output[src]

impl<'_> Add<&'_ u8> for u8[src]

type Output = <u8 as Add<u8>>::Output

pub fn add(self, other: &u8) -> <u8 as Add<u8>>::Output[src]

impl<'a> Add<Wrapping<i32>> for &'a Wrapping<i32>[src]

type Output = <Wrapping<i32> as Add<Wrapping<i32>>>::Output

pub fn add(
    self,
    other: Wrapping<i32>
) -> <Wrapping<i32> as Add<Wrapping<i32>>>::Output
[src]

impl<'_> Add<&'_ Wrapping<i64>> for Wrapping<i64>[src]

type Output = <Wrapping<i64> as Add<Wrapping<i64>>>::Output

pub fn add(
    self,
    other: &Wrapping<i64>
) -> <Wrapping<i64> as Add<Wrapping<i64>>>::Output
[src]

impl<'a> Add<Wrapping<i16>> for &'a Wrapping<i16>[src]

type Output = <Wrapping<i16> as Add<Wrapping<i16>>>::Output

pub fn add(
    self,
    other: Wrapping<i16>
) -> <Wrapping<i16> as Add<Wrapping<i16>>>::Output
[src]

impl Add<u128> for u128[src]

type Output = u128

pub fn add(self, other: u128) -> u128[src]

impl<'_> Add<&'_ usize> for usize[src]

type Output = <usize as Add<usize>>::Output

pub fn add(self, other: &usize) -> <usize as Add<usize>>::Output[src]

impl Add<i128> for i128[src]

type Output = i128

pub fn add(self, other: i128) -> i128[src]

impl<'a> Add<u8> for &'a u8[src]

type Output = <u8 as Add<u8>>::Output

pub fn add(self, other: u8) -> <u8 as Add<u8>>::Output[src]

impl<'_, '_> Add<&'_ Wrapping<u32>> for &'_ Wrapping<u32>[src]

type Output = <Wrapping<u32> as Add<Wrapping<u32>>>::Output

pub fn add(
    self,
    other: &Wrapping<u32>
) -> <Wrapping<u32> as Add<Wrapping<u32>>>::Output
[src]

impl Add<Wrapping<i128>> for Wrapping<i128>[src]

type Output = Wrapping<i128>

pub fn add(self, other: Wrapping<i128>) -> Wrapping<i128>[src]

impl<'a> Add<i16> for &'a i16[src]

type Output = <i16 as Add<i16>>::Output

pub fn add(self, other: i16) -> <i16 as Add<i16>>::Output[src]

impl Add<u8> for u8[src]

type Output = u8

pub fn add(self, other: u8) -> u8[src]

impl Add<Wrapping<i16>> for Wrapping<i16>[src]

type Output = Wrapping<i16>

pub fn add(self, other: Wrapping<i16>) -> Wrapping<i16>[src]

impl<'_> Add<&'_ u32> for u32[src]

type Output = <u32 as Add<u32>>::Output

pub fn add(self, other: &u32) -> <u32 as Add<u32>>::Output[src]

impl<'_, '_> Add<&'_ i32> for &'_ i32[src]

type Output = <i32 as Add<i32>>::Output

pub fn add(self, other: &i32) -> <i32 as Add<i32>>::Output[src]

impl<'a> Add<u16> for &'a u16[src]

type Output = <u16 as Add<u16>>::Output

pub fn add(self, other: u16) -> <u16 as Add<u16>>::Output[src]

impl<'_, '_> Add<&'_ u128> for &'_ u128[src]

type Output = <u128 as Add<u128>>::Output

pub fn add(self, other: &u128) -> <u128 as Add<u128>>::Output[src]

impl<'_, '_> Add<&'_ Wrapping<i128>> for &'_ Wrapping<i128>[src]

type Output = <Wrapping<i128> as Add<Wrapping<i128>>>::Output

pub fn add(
    self,
    other: &Wrapping<i128>
) -> <Wrapping<i128> as Add<Wrapping<i128>>>::Output
[src]

impl<'_, '_> Add<&'_ Wrapping<u64>> for &'_ Wrapping<u64>[src]

type Output = <Wrapping<u64> as Add<Wrapping<u64>>>::Output

pub fn add(
    self,
    other: &Wrapping<u64>
) -> <Wrapping<u64> as Add<Wrapping<u64>>>::Output
[src]

impl<'_, '_> Add<&'_ u32> for &'_ u32[src]

type Output = <u32 as Add<u32>>::Output

pub fn add(self, other: &u32) -> <u32 as Add<u32>>::Output[src]

impl<'a> Add<u32> for &'a u32[src]

type Output = <u32 as Add<u32>>::Output

pub fn add(self, other: u32) -> <u32 as Add<u32>>::Output[src]

impl Add<Wrapping<u32>> for Wrapping<u32>[src]

type Output = Wrapping<u32>

pub fn add(self, other: Wrapping<u32>) -> Wrapping<u32>[src]

impl<'_, '_> Add<&'_ u64> for &'_ u64[src]

type Output = <u64 as Add<u64>>::Output

pub fn add(self, other: &u64) -> <u64 as Add<u64>>::Output[src]

impl<'_, '_> Add<&'_ f64> for &'_ f64[src]

type Output = <f64 as Add<f64>>::Output

pub fn add(self, other: &f64) -> <f64 as Add<f64>>::Output[src]

impl<'_> Add<&'_ Wrapping<usize>> for Wrapping<usize>[src]

type Output = <Wrapping<usize> as Add<Wrapping<usize>>>::Output

pub fn add(
    self,
    other: &Wrapping<usize>
) -> <Wrapping<usize> as Add<Wrapping<usize>>>::Output
[src]

impl<'_> Add<&'_ i16> for i16[src]

type Output = <i16 as Add<i16>>::Output

pub fn add(self, other: &i16) -> <i16 as Add<i16>>::Output[src]

impl Add<isize> for isize[src]

type Output = isize

pub fn add(self, other: isize) -> isize[src]

impl<'a> Add<Wrapping<u32>> for &'a Wrapping<u32>[src]

type Output = <Wrapping<u32> as Add<Wrapping<u32>>>::Output

pub fn add(
    self,
    other: Wrapping<u32>
) -> <Wrapping<u32> as Add<Wrapping<u32>>>::Output
[src]

impl<'_, '_> Add<&'_ Wrapping<i64>> for &'_ Wrapping<i64>[src]

type Output = <Wrapping<i64> as Add<Wrapping<i64>>>::Output

pub fn add(
    self,
    other: &Wrapping<i64>
) -> <Wrapping<i64> as Add<Wrapping<i64>>>::Output
[src]

impl<'_, '_> Add<&'_ Wrapping<isize>> for &'_ Wrapping<isize>[src]

type Output = <Wrapping<isize> as Add<Wrapping<isize>>>::Output

pub fn add(
    self,
    other: &Wrapping<isize>
) -> <Wrapping<isize> as Add<Wrapping<isize>>>::Output
[src]

impl<'_> Add<&'_ i32> for i32[src]

type Output = <i32 as Add<i32>>::Output

pub fn add(self, other: &i32) -> <i32 as Add<i32>>::Output[src]

impl<'_> Add<&'_ Wrapping<i16>> for Wrapping<i16>[src]

type Output = <Wrapping<i16> as Add<Wrapping<i16>>>::Output

pub fn add(
    self,
    other: &Wrapping<i16>
) -> <Wrapping<i16> as Add<Wrapping<i16>>>::Output
[src]

impl<'_, '_> Add<&'_ Wrapping<u16>> for &'_ Wrapping<u16>[src]

type Output = <Wrapping<u16> as Add<Wrapping<u16>>>::Output

pub fn add(
    self,
    other: &Wrapping<u16>
) -> <Wrapping<u16> as Add<Wrapping<u16>>>::Output
[src]

impl Add<Wrapping<u16>> for Wrapping<u16>[src]

type Output = Wrapping<u16>

pub fn add(self, other: Wrapping<u16>) -> Wrapping<u16>[src]

impl<'_> Add<&'_ u128> for u128[src]

type Output = <u128 as Add<u128>>::Output

pub fn add(self, other: &u128) -> <u128 as Add<u128>>::Output[src]

impl Add<Wrapping<i32>> for Wrapping<i32>[src]

type Output = Wrapping<i32>

pub fn add(self, other: Wrapping<i32>) -> Wrapping<i32>[src]

impl<'a> Add<Wrapping<isize>> for &'a Wrapping<isize>[src]

type Output = <Wrapping<isize> as Add<Wrapping<isize>>>::Output

pub fn add(
    self,
    other: Wrapping<isize>
) -> <Wrapping<isize> as Add<Wrapping<isize>>>::Output
[src]

impl<'_> Add<&'_ Wrapping<i32>> for Wrapping<i32>[src]

type Output = <Wrapping<i32> as Add<Wrapping<i32>>>::Output

pub fn add(
    self,
    other: &Wrapping<i32>
) -> <Wrapping<i32> as Add<Wrapping<i32>>>::Output
[src]

impl<'_> Add<&'_ Wrapping<u16>> for Wrapping<u16>[src]

type Output = <Wrapping<u16> as Add<Wrapping<u16>>>::Output

pub fn add(
    self,
    other: &Wrapping<u16>
) -> <Wrapping<u16> as Add<Wrapping<u16>>>::Output
[src]

impl<'_, '_> Add<&'_ Wrapping<i16>> for &'_ Wrapping<i16>[src]

type Output = <Wrapping<i16> as Add<Wrapping<i16>>>::Output

pub fn add(
    self,
    other: &Wrapping<i16>
) -> <Wrapping<i16> as Add<Wrapping<i16>>>::Output
[src]

impl<'_, '_> Add<&'_ i128> for &'_ i128[src]

type Output = <i128 as Add<i128>>::Output

pub fn add(self, other: &i128) -> <i128 as Add<i128>>::Output[src]

impl Add<u64> for u64[src]

type Output = u64

pub fn add(self, other: u64) -> u64[src]

impl<'_, '_> Add<&'_ u16> for &'_ u16[src]

type Output = <u16 as Add<u16>>::Output

pub fn add(self, other: &u16) -> <u16 as Add<u16>>::Output[src]

impl<'a> Add<isize> for &'a isize[src]

type Output = <isize as Add<isize>>::Output

pub fn add(self, other: isize) -> <isize as Add<isize>>::Output[src]

impl<'a> Add<i64> for &'a i64[src]

type Output = <i64 as Add<i64>>::Output

pub fn add(self, other: i64) -> <i64 as Add<i64>>::Output[src]

impl Add<i32> for i32[src]

type Output = i32

pub fn add(self, other: i32) -> i32[src]

impl<'a> Add<Wrapping<u64>> for &'a Wrapping<u64>[src]

type Output = <Wrapping<u64> as Add<Wrapping<u64>>>::Output

pub fn add(
    self,
    other: Wrapping<u64>
) -> <Wrapping<u64> as Add<Wrapping<u64>>>::Output
[src]

impl<'_, '_> Add<&'_ Wrapping<u128>> for &'_ Wrapping<u128>[src]

type Output = <Wrapping<u128> as Add<Wrapping<u128>>>::Output

pub fn add(
    self,
    other: &Wrapping<u128>
) -> <Wrapping<u128> as Add<Wrapping<u128>>>::Output
[src]

impl<'_> Add<&'_ Wrapping<u8>> for Wrapping<u8>[src]

type Output = <Wrapping<u8> as Add<Wrapping<u8>>>::Output

pub fn add(
    self,
    other: &Wrapping<u8>
) -> <Wrapping<u8> as Add<Wrapping<u8>>>::Output
[src]

impl<'_, '_> Add<&'_ isize> for &'_ isize[src]

type Output = <isize as Add<isize>>::Output

pub fn add(self, other: &isize) -> <isize as Add<isize>>::Output[src]

impl<'_, '_> Add<&'_ Wrapping<i8>> for &'_ Wrapping<i8>[src]

type Output = <Wrapping<i8> as Add<Wrapping<i8>>>::Output

pub fn add(
    self,
    other: &Wrapping<i8>
) -> <Wrapping<i8> as Add<Wrapping<i8>>>::Output
[src]

impl Add<u16> for u16[src]

type Output = u16

pub fn add(self, other: u16) -> u16[src]

impl Add<Wrapping<i8>> for Wrapping<i8>[src]

type Output = Wrapping<i8>

pub fn add(self, other: Wrapping<i8>) -> Wrapping<i8>[src]

impl<'_> Add<&'_ Wrapping<u64>> for Wrapping<u64>[src]

type Output = <Wrapping<u64> as Add<Wrapping<u64>>>::Output

pub fn add(
    self,
    other: &Wrapping<u64>
) -> <Wrapping<u64> as Add<Wrapping<u64>>>::Output
[src]

impl<'a> Add<Wrapping<u128>> for &'a Wrapping<u128>[src]

type Output = <Wrapping<u128> as Add<Wrapping<u128>>>::Output

pub fn add(
    self,
    other: Wrapping<u128>
) -> <Wrapping<u128> as Add<Wrapping<u128>>>::Output
[src]

impl Add<Wrapping<usize>> for Wrapping<usize>[src]

type Output = Wrapping<usize>

pub fn add(self, other: Wrapping<usize>) -> Wrapping<usize>[src]

impl<'_> Add<&'_ Wrapping<u32>> for Wrapping<u32>[src]

type Output = <Wrapping<u32> as Add<Wrapping<u32>>>::Output

pub fn add(
    self,
    other: &Wrapping<u32>
) -> <Wrapping<u32> as Add<Wrapping<u32>>>::Output
[src]

impl<'_, '_> Add<&'_ u8> for &'_ u8[src]

type Output = <u8 as Add<u8>>::Output

pub fn add(self, other: &u8) -> <u8 as Add<u8>>::Output[src]

impl<'_, '_> Add<&'_ Wrapping<i32>> for &'_ Wrapping<i32>[src]

type Output = <Wrapping<i32> as Add<Wrapping<i32>>>::Output

pub fn add(
    self,
    other: &Wrapping<i32>
) -> <Wrapping<i32> as Add<Wrapping<i32>>>::Output
[src]

impl Add<Wrapping<isize>> for Wrapping<isize>[src]

type Output = Wrapping<isize>

pub fn add(self, other: Wrapping<isize>) -> Wrapping<isize>[src]

impl<'_, '_> Add<&'_ f32> for &'_ f32[src]

type Output = <f32 as Add<f32>>::Output

pub fn add(self, other: &f32) -> <f32 as Add<f32>>::Output[src]

impl<'a> Add<f64> for &'a f64[src]

type Output = <f64 as Add<f64>>::Output

pub fn add(self, other: f64) -> <f64 as Add<f64>>::Output[src]

impl<'_> Add<&'_ Wrapping<u128>> for Wrapping<u128>[src]

type Output = <Wrapping<u128> as Add<Wrapping<u128>>>::Output

pub fn add(
    self,
    other: &Wrapping<u128>
) -> <Wrapping<u128> as Add<Wrapping<u128>>>::Output
[src]

impl<'a> Add<usize> for &'a usize[src]

type Output = <usize as Add<usize>>::Output

pub fn add(self, other: usize) -> <usize as Add<usize>>::Output[src]

impl<'_> Add<&'_ u64> for u64[src]

type Output = <u64 as Add<u64>>::Output

pub fn add(self, other: &u64) -> <u64 as Add<u64>>::Output[src]

impl Add<i8> for i8[src]

type Output = i8

pub fn add(self, other: i8) -> i8[src]

impl Add<usize> for usize[src]

type Output = usize

pub fn add(self, other: usize) -> usize[src]

impl<'a> Add<Wrapping<i8>> for &'a Wrapping<i8>[src]

type Output = <Wrapping<i8> as Add<Wrapping<i8>>>::Output

pub fn add(
    self,
    other: Wrapping<i8>
) -> <Wrapping<i8> as Add<Wrapping<i8>>>::Output
[src]

impl<'_> Add<&'_ i8> for i8[src]

type Output = <i8 as Add<i8>>::Output

pub fn add(self, other: &i8) -> <i8 as Add<i8>>::Output[src]

impl Add<f32> for f32[src]

type Output = f32

pub fn add(self, other: f32) -> f32[src]

impl<'a> Add<Wrapping<i64>> for &'a Wrapping<i64>[src]

type Output = <Wrapping<i64> as Add<Wrapping<i64>>>::Output

pub fn add(
    self,
    other: Wrapping<i64>
) -> <Wrapping<i64> as Add<Wrapping<i64>>>::Output
[src]

impl<'_> Add<&'_ Wrapping<isize>> for Wrapping<isize>[src]

type Output = <Wrapping<isize> as Add<Wrapping<isize>>>::Output

pub fn add(
    self,
    other: &Wrapping<isize>
) -> <Wrapping<isize> as Add<Wrapping<isize>>>::Output
[src]

impl<'a> Add<u128> for &'a u128[src]

type Output = <u128 as Add<u128>>::Output

pub fn add(self, other: u128) -> <u128 as Add<u128>>::Output[src]

impl<'_> Add<&'_ u16> for u16[src]

type Output = <u16 as Add<u16>>::Output

pub fn add(self, other: &u16) -> <u16 as Add<u16>>::Output[src]

impl<'_> Add<&'_ Wrapping<i8>> for Wrapping<i8>[src]

type Output = <Wrapping<i8> as Add<Wrapping<i8>>>::Output

pub fn add(
    self,
    other: &Wrapping<i8>
) -> <Wrapping<i8> as Add<Wrapping<i8>>>::Output
[src]

impl Add<Wrapping<i64>> for Wrapping<i64>[src]

type Output = Wrapping<i64>

pub fn add(self, other: Wrapping<i64>) -> Wrapping<i64>[src]

impl<'_, '_> Add<&'_ i64> for &'_ i64[src]

type Output = <i64 as Add<i64>>::Output

pub fn add(self, other: &i64) -> <i64 as Add<i64>>::Output[src]

impl<'_> Add<&'_ isize> for isize[src]

type Output = <isize as Add<isize>>::Output

pub fn add(self, other: &isize) -> <isize as Add<isize>>::Output[src]

impl<'_> Add<&'_ str> for String[src]

Implements the + operator for concatenating two strings.

This consumes the String on the left-hand side and re-uses its buffer (growing it if necessary). This is done to avoid allocating a new String and copying the entire contents on every operation, which would lead to O(n^2) running time when building an n-byte string by repeated concatenation.

The string on the right-hand side is only borrowed; its contents are copied into the returned String.

Examples

Concatenating two Strings takes the first by value and borrows the second:

let a = String::from("hello");
let b = String::from(" world");
let c = a + &b;
// `a` is moved and can no longer be used here.

If you want to keep using the first String, you can clone it and append to the clone instead:

let a = String::from("hello");
let b = String::from(" world");
let c = a.clone() + &b;
// `a` is still valid here.

Concatenating &str slices can be done by converting the first to a String:

let a = "hello";
let b = " world";
let c = a.to_string() + b;

type Output = String

pub fn add(self, other: &str) -> String[src]

impl<'a> Add<&'a usize> for BigUint[src]

type Output = BigUint

pub fn add(self, other: &usize) -> BigUint[src]

impl<'a> Add<&'a BigInt> for i64[src]

type Output = BigInt

pub fn add(self, other: &BigInt) -> BigInt[src]

impl Add<BigUint> for u16[src]

type Output = BigUint

pub fn add(self, other: BigUint) -> BigUint[src]

impl<'a> Add<BigUint> for &'a u32[src]

type Output = BigUint

pub fn add(self, other: BigUint) -> BigUint[src]

impl<'a> Add<BigUint> for &'a u8[src]

type Output = BigUint

pub fn add(self, other: BigUint) -> BigUint[src]

impl<'a> Add<&'a u128> for BigInt[src]

type Output = BigInt

pub fn add(self, other: &u128) -> BigInt[src]

impl<'a> Add<&'a u16> for BigUint[src]

type Output = BigUint

pub fn add(self, other: &u16) -> BigUint[src]

impl<'a> Add<i16> for &'a BigInt[src]

type Output = BigInt

pub fn add(self, other: i16) -> BigInt[src]

impl<'a, 'b> Add<&'b usize> for &'a BigInt[src]

type Output = BigInt

pub fn add(self, other: &usize) -> BigInt[src]

impl<'a, 'b> Add<&'a BigInt> for &'b u16[src]

type Output = BigInt

pub fn add(self, other: &BigInt) -> BigInt[src]

impl<'a, 'b> Add<&'b u128> for &'a BigInt[src]

type Output = BigInt

pub fn add(self, other: &u128) -> BigInt[src]

impl<'a, 'b> Add<&'b isize> for &'a BigInt[src]

type Output = BigInt

pub fn add(self, other: &isize) -> BigInt[src]

impl Add<BigInt> for i16[src]

type Output = BigInt

pub fn add(self, other: BigInt) -> BigInt[src]

impl Add<u8> for BigInt[src]

type Output = BigInt

pub fn add(self, other: u8) -> BigInt[src]

impl<'a, 'b> Add<&'b u128> for &'a BigUint[src]

type Output = BigUint

pub fn add(self, other: &u128) -> BigUint[src]

impl<'a, 'b> Add<&'b BigInt> for &'a BigInt[src]

type Output = BigInt

pub fn add(self, other: &BigInt) -> BigInt[src]

impl<'a, 'b> Add<&'b u16> for &'a BigUint[src]

type Output = BigUint

pub fn add(self, other: &u16) -> BigUint[src]

impl Add<u128> for BigUint[src]

type Output = BigUint

pub fn add(self, other: u128) -> BigUint[src]

impl Add<BigInt> for i128[src]

type Output = BigInt

pub fn add(self, other: BigInt) -> BigInt[src]

impl Add<BigUint> for u64[src]

type Output = BigUint

pub fn add(self, other: BigUint) -> BigUint[src]

impl<'a> Add<&'a BigUint> for u32[src]

type Output = BigUint

pub fn add(self, other: &BigUint) -> BigUint[src]

impl<'a> Add<u64> for &'a BigUint[src]

type Output = BigUint

pub fn add(self, other: u64) -> BigUint[src]

impl<'a, 'b> Add<&'b u32> for &'a BigInt[src]

type Output = BigInt

pub fn add(self, other: &u32) -> BigInt[src]

impl<'a> Add<i128> for &'a BigInt[src]

type Output = BigInt

pub fn add(self, other: i128) -> BigInt[src]

impl<'a, 'b> Add<&'b u64> for &'a BigInt[src]

type Output = BigInt

pub fn add(self, other: &u64) -> BigInt[src]

impl<'a, 'b> Add<&'a BigInt> for &'b i32[src]

type Output = BigInt

pub fn add(self, other: &BigInt) -> BigInt[src]

impl Add<u16> for BigInt[src]

type Output = BigInt

pub fn add(self, other: u16) -> BigInt[src]

impl<'a, 'b> Add<&'a BigInt> for &'b i64[src]

type Output = BigInt

pub fn add(self, other: &BigInt) -> BigInt[src]

impl<'a> Add<&'a i64> for BigInt[src]

type Output = BigInt

pub fn add(self, other: &i64) -> BigInt[src]

impl<'a, 'b> Add<&'a BigInt> for &'b i128[src]

type Output = BigInt

pub fn add(self, other: &BigInt) -> BigInt[src]

impl Add<BigUint> for usize[src]

type Output = BigUint

pub fn add(self, other: BigUint) -> BigUint[src]

impl<'a, 'b> Add<&'a BigUint> for &'b usize[src]

type Output = BigUint

pub fn add(self, other: &BigUint) -> BigUint[src]

impl Add<BigInt> for i32[src]

type Output = BigInt

pub fn add(self, other: BigInt) -> BigInt[src]

impl Add<u32> for BigUint[src]

type Output = BigUint

pub fn add(self, other: u32) -> BigUint[src]

impl<'a, 'b> Add<&'b i64> for &'a BigInt[src]

type Output = BigInt

pub fn add(self, other: &i64) -> BigInt[src]

impl<'a, 'b> Add<&'a BigInt> for &'b u8[src]

type Output = BigInt

pub fn add(self, other: &BigInt) -> BigInt[src]

impl<'a> Add<&'a BigInt> for BigInt[src]

type Output = BigInt

pub fn add(self, other: &BigInt) -> BigInt[src]

impl<'a, 'b> Add<&'a BigInt> for &'b isize[src]

type Output = BigInt

pub fn add(self, other: &BigInt) -> BigInt[src]

impl<'a> Add<&'a BigInt> for i32[src]

type Output = BigInt

pub fn add(self, other: &BigInt) -> BigInt[src]

impl<'a> Add<&'a usize> for BigInt[src]

type Output = BigInt

pub fn add(self, other: &usize) -> BigInt[src]

impl Add<BigInt> for u16[src]

type Output = BigInt

pub fn add(self, other: BigInt) -> BigInt[src]

impl<'a> Add<&'a BigUint> for usize[src]

type Output = BigUint

pub fn add(self, other: &BigUint) -> BigUint[src]

impl<'a> Add<BigInt> for &'a i32[src]

type Output = BigInt

pub fn add(self, other: BigInt) -> BigInt[src]

impl<'a> Add<&'a i32> for BigInt[src]

type Output = BigInt

pub fn add(self, other: &i32) -> BigInt[src]

impl Add<u32> for BigInt[src]

type Output = BigInt

pub fn add(self, other: u32) -> BigInt[src]

impl<'a> Add<&'a BigUint> for BigUint[src]

type Output = BigUint

pub fn add(self, other: &BigUint) -> BigUint[src]

impl<'a> Add<u32> for &'a BigUint[src]

type Output = BigUint

pub fn add(self, other: u32) -> BigUint[src]

impl<'a, 'b> Add<&'b i8> for &'a BigInt[src]

type Output = BigInt

pub fn add(self, other: &i8) -> BigInt[src]

impl<'a> Add<&'a BigUint> for u16[src]

type Output = BigUint

pub fn add(self, other: &BigUint) -> BigUint[src]

impl Add<BigInt> for u32[src]

type Output = BigInt

pub fn add(self, other: BigInt) -> BigInt[src]

impl<'a> Add<usize> for &'a BigInt[src]

type Output = BigInt

pub fn add(self, other: usize) -> BigInt[src]

impl<'a> Add<&'a BigInt> for u64[src]

type Output = BigInt

pub fn add(self, other: &BigInt) -> BigInt[src]

impl<'a> Add<&'a BigInt> for usize[src]

type Output = BigInt

pub fn add(self, other: &BigInt) -> BigInt[src]

impl Add<u8> for BigUint[src]

type Output = BigUint

pub fn add(self, other: u8) -> BigUint[src]

impl Add<BigInt> for u128[src]

type Output = BigInt

pub fn add(self, other: BigInt) -> BigInt[src]

impl<'a, 'b> Add<&'b i32> for &'a BigInt[src]

type Output = BigInt

pub fn add(self, other: &i32) -> BigInt[src]

impl<'a> Add<BigInt> for &'a usize[src]

type Output = BigInt

pub fn add(self, other: BigInt) -> BigInt[src]

impl<'a, 'b> Add<&'b i128> for &'a BigInt[src]

type Output = BigInt

pub fn add(self, other: &i128) -> BigInt[src]

impl Add<i8> for BigInt[src]

type Output = BigInt

pub fn add(self, other: i8) -> BigInt[src]

impl Add<BigInt> for usize[src]

type Output = BigInt

pub fn add(self, other: BigInt) -> BigInt[src]

impl<'a> Add<&'a BigInt> for isize[src]

type Output = BigInt

pub fn add(self, other: &BigInt) -> BigInt[src]

impl<'a> Add<&'a u64> for BigUint[src]

type Output = BigUint

pub fn add(self, other: &u64) -> BigUint[src]

impl<'a> Add<BigInt> for &'a u32[src]

type Output = BigInt

pub fn add(self, other: BigInt) -> BigInt[src]

impl<'a, 'b> Add<&'a BigInt> for &'b usize[src]

type Output = BigInt

pub fn add(self, other: &BigInt) -> BigInt[src]

impl<'a, 'b> Add<&'b usize> for &'a BigUint[src]

type Output = BigUint

pub fn add(self, other: &usize) -> BigUint[src]

impl Add<BigInt> for i64[src]

type Output = BigInt

pub fn add(self, other: BigInt) -> BigInt[src]

impl<'a> Add<&'a i8> for BigInt[src]

type Output = BigInt

pub fn add(self, other: &i8) -> BigInt[src]

impl<'a> Add<BigInt> for &'a u64[src]

type Output = BigInt

pub fn add(self, other: BigInt) -> BigInt[src]

impl<'a> Add<&'a BigInt> for u16[src]

type Output = BigInt

pub fn add(self, other: &BigInt) -> BigInt[src]

impl<'a> Add<&'a BigInt> for u32[src]

type Output = BigInt

pub fn add(self, other: &BigInt) -> BigInt[src]

impl Add<u128> for BigInt[src]

type Output = BigInt

pub fn add(self, other: u128) -> BigInt[src]

impl<'a, 'b> Add<&'a BigUint> for &'b u8[src]

type Output = BigUint

pub fn add(self, other: &BigUint) -> BigUint[src]

impl<'a> Add<BigInt> for &'a i64[src]

type Output = BigInt

pub fn add(self, other: BigInt) -> BigInt[src]

impl Add<i128> for BigInt[src]

type Output = BigInt

pub fn add(self, other: i128) -> BigInt[src]

impl Add<BigInt> for u64[src]

type Output = BigInt

pub fn add(self, other: BigInt) -> BigInt[src]

impl<'a> Add<BigInt> for &'a i128[src]

type Output = BigInt

pub fn add(self, other: BigInt) -> BigInt[src]

impl<'a> Add<&'a u64> for BigInt[src]

type Output = BigInt

pub fn add(self, other: &u64) -> BigInt[src]

impl<'a, 'b> Add<&'a BigUint> for &'b u16[src]

type Output = BigUint

pub fn add(self, other: &BigUint) -> BigUint[src]

impl Add<u64> for BigInt[src]

type Output = BigInt

pub fn add(self, other: u64) -> BigInt[src]

impl<'a> Add<BigInt> for &'a BigInt[src]

type Output = BigInt

pub fn add(self, other: BigInt) -> BigInt[src]

impl Add<u16> for BigUint[src]

type Output = BigUint

pub fn add(self, other: u16) -> BigUint[src]

impl<'a> Add<&'a u8> for BigUint[src]

type Output = BigUint

pub fn add(self, other: &u8) -> BigUint[src]

impl Add<i32> for BigInt[src]

type Output = BigInt

pub fn add(self, other: i32) -> BigInt[src]

impl<'a> Add<&'a BigUint> for u128[src]

type Output = BigUint

pub fn add(self, other: &BigUint) -> BigUint[src]

impl<'a> Add<&'a isize> for BigInt[src]

type Output = BigInt

pub fn add(self, other: &isize) -> BigInt[src]

impl<'a> Add<BigInt> for &'a i16[src]

type Output = BigInt

pub fn add(self, other: BigInt) -> BigInt[src]

impl<'a> Add<u8> for &'a BigUint[src]

type Output = BigUint

pub fn add(self, other: u8) -> BigUint[src]

impl<'a, 'b> Add<&'a BigUint> for &'b u32[src]

type Output = BigUint

pub fn add(self, other: &BigUint) -> BigUint[src]

impl<'a, 'b> Add<&'b u8> for &'a BigUint[src]

type Output = BigUint

pub fn add(self, other: &u8) -> BigUint[src]

impl<'a> Add<&'a u32> for BigUint[src]

type Output = BigUint

pub fn add(self, other: &u32) -> BigUint[src]

impl<'a, 'b> Add<&'a BigInt> for &'b u128[src]

type Output = BigInt

pub fn add(self, other: &BigInt) -> BigInt[src]

impl<'a> Add<&'a BigInt> for i128[src]

type Output = BigInt

pub fn add(self, other: &BigInt) -> BigInt[src]

impl<'a> Add<u8> for &'a BigInt[src]

type Output = BigInt

pub fn add(self, other: u8) -> BigInt[src]

impl Add<BigUint> for BigUint[src]

type Output = BigUint

pub fn add(self, other: BigUint) -> BigUint[src]

impl<'a> Add<u64> for &'a BigInt[src]

type Output = BigInt

pub fn add(self, other: u64) -> BigInt[src]

impl<'a> Add<BigInt> for &'a isize[src]

type Output = BigInt

pub fn add(self, other: BigInt) -> BigInt[src]

impl Add<usize> for BigInt[src]

type Output = BigInt

pub fn add(self, other: usize) -> BigInt[src]

impl<'a> Add<BigUint> for &'a u128[src]

type Output = BigUint

pub fn add(self, other: BigUint) -> BigUint[src]

impl<'a> Add<&'a i16> for BigInt[src]

type Output = BigInt

pub fn add(self, other: &i16) -> BigInt[src]

impl<'a> Add<&'a u32> for BigInt[src]

type Output = BigInt

pub fn add(self, other: &u32) -> BigInt[src]

impl<'a> Add<BigUint> for &'a u16[src]

type Output = BigUint

pub fn add(self, other: BigUint) -> BigUint[src]

impl<'a, 'b> Add<&'b i16> for &'a BigInt[src]

type Output = BigInt

pub fn add(self, other: &i16) -> BigInt[src]

impl Add<i16> for BigInt[src]

type Output = BigInt

pub fn add(self, other: i16) -> BigInt[src]

impl<'a> Add<usize> for &'a BigUint[src]

type Output = BigUint

pub fn add(self, other: usize) -> BigUint[src]

impl<'a> Add<i32> for &'a BigInt[src]

type Output = BigInt

pub fn add(self, other: i32) -> BigInt[src]

impl<'a> Add<&'a u128> for BigUint[src]

type Output = BigUint

pub fn add(self, other: &u128) -> BigUint[src]

impl<'a, 'b> Add<&'a BigInt> for &'b u64[src]

type Output = BigInt

pub fn add(self, other: &BigInt) -> BigInt[src]

impl Add<BigInt> for u8[src]

type Output = BigInt

pub fn add(self, other: BigInt) -> BigInt[src]

impl<'a> Add<&'a BigInt> for u8[src]

type Output = BigInt

pub fn add(self, other: &BigInt) -> BigInt[src]

impl Add<BigUint> for u128[src]

type Output = BigUint

pub fn add(self, other: BigUint) -> BigUint[src]

impl<'a, 'b> Add<&'b u32> for &'a BigUint[src]

type Output = BigUint

pub fn add(self, other: &u32) -> BigUint[src]

impl<'a> Add<BigUint> for &'a BigUint[src]

type Output = BigUint

pub fn add(self, other: BigUint) -> BigUint[src]

impl Add<BigUint> for u32[src]

type Output = BigUint

pub fn add(self, other: BigUint) -> BigUint[src]

impl<'a> Add<&'a u8> for BigInt[src]

type Output = BigInt

pub fn add(self, other: &u8) -> BigInt[src]

impl<'a> Add<BigInt> for &'a u8[src]

type Output = BigInt

pub fn add(self, other: BigInt) -> BigInt[src]

impl Add<i64> for BigInt[src]

type Output = BigInt

pub fn add(self, other: i64) -> BigInt[src]

impl<'a, 'b> Add<&'a BigUint> for &'b u128[src]

type Output = BigUint

pub fn add(self, other: &BigUint) -> BigUint[src]

impl<'a, 'b> Add<&'a BigUint> for &'b u64[src]

type Output = BigUint

pub fn add(self, other: &BigUint) -> BigUint[src]

impl<'a, 'b> Add<&'a BigInt> for &'b u32[src]

type Output = BigInt

pub fn add(self, other: &BigInt) -> BigInt[src]

impl<'a> Add<isize> for &'a BigInt[src]

type Output = BigInt

pub fn add(self, other: isize) -> BigInt[src]

impl<'a> Add<&'a BigUint> for u64[src]

type Output = BigUint

pub fn add(self, other: &BigUint) -> BigUint[src]

impl<'a> Add<BigInt> for &'a u128[src]

type Output = BigInt

pub fn add(self, other: BigInt) -> BigInt[src]

impl<'a> Add<BigUint> for &'a usize[src]

type Output = BigUint

pub fn add(self, other: BigUint) -> BigUint[src]

impl<'a> Add<i8> for &'a BigInt[src]

type Output = BigInt

pub fn add(self, other: i8) -> BigInt[src]

impl<'a> Add<&'a BigInt> for u128[src]

type Output = BigInt

pub fn add(self, other: &BigInt) -> BigInt[src]

impl<'a, 'b> Add<&'b u8> for &'a BigInt[src]

type Output = BigInt

pub fn add(self, other: &u8) -> BigInt[src]

impl<'a> Add<u16> for &'a BigUint[src]

type Output = BigUint

pub fn add(self, other: u16) -> BigUint[src]

impl<'a> Add<BigUint> for &'a u64[src]

type Output = BigUint

pub fn add(self, other: BigUint) -> BigUint[src]

impl<'a> Add<BigInt> for &'a i8[src]

type Output = BigInt

pub fn add(self, other: BigInt) -> BigInt[src]

impl<'a, 'b> Add<&'a BigInt> for &'b i8[src]

type Output = BigInt

pub fn add(self, other: &BigInt) -> BigInt[src]

impl Add<BigUint> for u8[src]

type Output = BigUint

pub fn add(self, other: BigUint) -> BigUint[src]

impl<'a> Add<u128> for &'a BigUint[src]

type Output = BigUint

pub fn add(self, other: u128) -> BigUint[src]

impl<'a> Add<&'a BigInt> for i16[src]

type Output = BigInt

pub fn add(self, other: &BigInt) -> BigInt[src]

impl<'a, 'b> Add<&'b u16> for &'a BigInt[src]

type Output = BigInt

pub fn add(self, other: &u16) -> BigInt[src]

impl<'a, 'b> Add<&'b u64> for &'a BigUint[src]

type Output = BigUint

pub fn add(self, other: &u64) -> BigUint[src]

impl Add<BigInt> for BigInt[src]

type Output = BigInt

pub fn add(self, other: BigInt) -> BigInt[src]

impl<'a> Add<u16> for &'a BigInt[src]

type Output = BigInt

pub fn add(self, other: u16) -> BigInt[src]

impl<'a> Add<&'a BigInt> for i8[src]

type Output = BigInt

pub fn add(self, other: &BigInt) -> BigInt[src]

impl<'a> Add<BigInt> for &'a u16[src]

type Output = BigInt

pub fn add(self, other: BigInt) -> BigInt[src]

impl Add<isize> for BigInt[src]

type Output = BigInt

pub fn add(self, other: isize) -> BigInt[src]

impl<'a> Add<&'a i128> for BigInt[src]

type Output = BigInt

pub fn add(self, other: &i128) -> BigInt[src]

impl<'a, 'b> Add<&'b BigUint> for &'a BigUint[src]

type Output = BigUint

pub fn add(self, other: &BigUint) -> BigUint[src]

impl<'a> Add<u128> for &'a BigInt[src]

type Output = BigInt

pub fn add(self, other: u128) -> BigInt[src]

impl<'a> Add<&'a u16> for BigInt[src]

type Output = BigInt

pub fn add(self, other: &u16) -> BigInt[src]

impl<'a> Add<&'a BigUint> for u8[src]

type Output = BigUint

pub fn add(self, other: &BigUint) -> BigUint[src]

impl Add<u64> for BigUint[src]

type Output = BigUint

pub fn add(self, other: u64) -> BigUint[src]

impl<'a> Add<i64> for &'a BigInt[src]

type Output = BigInt

pub fn add(self, other: i64) -> BigInt[src]

impl<'a, 'b> Add<&'a BigInt> for &'b i16[src]

type Output = BigInt

pub fn add(self, other: &BigInt) -> BigInt[src]

impl Add<BigInt> for i8[src]

type Output = BigInt

pub fn add(self, other: BigInt) -> BigInt[src]

impl<'a> Add<u32> for &'a BigInt[src]

type Output = BigInt

pub fn add(self, other: u32) -> BigInt[src]

impl Add<usize> for BigUint[src]

type Output = BigUint

pub fn add(self, other: usize) -> BigUint[src]

impl Add<BigInt> for isize[src]

type Output = BigInt

pub fn add(self, other: BigInt) -> BigInt[src]

impl<'a> Add<&'a Complex<i128>> for i128[src]

type Output = Complex<i128>

pub fn add(self, other: &Complex<i128>) -> Complex<i128>[src]

impl Add<Complex<i16>> for i16[src]

type Output = Complex<i16>

pub fn add(self, other: Complex<i16>) -> <i16 as Add<Complex<i16>>>::Output[src]

impl<'a, 'b> Add<&'a Complex<f32>> for &'b f32[src]

type Output = Complex<f32>

pub fn add(self, other: &Complex<f32>) -> Complex<f32>[src]

impl<'a, 'b> Add<&'a Complex<i8>> for &'b i8[src]

type Output = Complex<i8>

pub fn add(self, other: &Complex<i8>) -> Complex<i8>[src]

impl Add<Complex<u16>> for u16[src]

type Output = Complex<u16>

pub fn add(self, other: Complex<u16>) -> <u16 as Add<Complex<u16>>>::Output[src]

impl Add<Complex<i64>> for i64[src]

type Output = Complex<i64>

pub fn add(self, other: Complex<i64>) -> <i64 as Add<Complex<i64>>>::Output[src]

impl<'a, 'b> Add<&'a Complex<i16>> for &'b i16[src]

type Output = Complex<i16>

pub fn add(self, other: &Complex<i16>) -> Complex<i16>[src]

impl<'a, 'b> Add<&'a Complex<u8>> for &'b u8[src]

type Output = Complex<u8>

pub fn add(self, other: &Complex<u8>) -> Complex<u8>[src]

impl<'a> Add<Complex<u32>> for &'a u32[src]

type Output = Complex<u32>

pub fn add(self, other: Complex<u32>) -> Complex<u32>[src]

impl Add<Complex<u8>> for u8[src]

type Output = Complex<u8>

pub fn add(self, other: Complex<u8>) -> <u8 as Add<Complex<u8>>>::Output[src]

impl<'a> Add<&'a Complex<u16>> for u16[src]

type Output = Complex<u16>

pub fn add(self, other: &Complex<u16>) -> Complex<u16>[src]

impl Add<Complex<i128>> for i128[src]

type Output = Complex<i128>

pub fn add(self, other: Complex<i128>) -> <i128 as Add<Complex<i128>>>::Output[src]

impl<'a> Add<Complex<f64>> for &'a f64[src]

type Output = Complex<f64>

pub fn add(self, other: Complex<f64>) -> Complex<f64>[src]

impl<'a, T> Add<&'a T> for Complex<T> where
    T: Clone + Num
[src]

type Output = Complex<T>

pub fn add(self, other: &T) -> <Complex<T> as Add<&'a T>>::Output[src]

impl<'a> Add<Complex<usize>> for &'a usize[src]

type Output = Complex<usize>

pub fn add(self, other: Complex<usize>) -> Complex<usize>[src]

impl<'a, 'b, T> Add<&'b Complex<T>> for &'a Complex<T> where
    T: Clone + Num
[src]

type Output = Complex<T>

pub fn add(
    self,
    other: &Complex<T>
) -> <&'a Complex<T> as Add<&'b Complex<T>>>::Output
[src]

impl<'a, 'b> Add<&'a Complex<u32>> for &'b u32[src]

type Output = Complex<u32>

pub fn add(self, other: &Complex<u32>) -> Complex<u32>[src]

impl<'a> Add<&'a Complex<usize>> for usize[src]

type Output = Complex<usize>

pub fn add(self, other: &Complex<usize>) -> Complex<usize>[src]

impl<'a> Add<Complex<i128>> for &'a i128[src]

type Output = Complex<i128>

pub fn add(self, other: Complex<i128>) -> Complex<i128>[src]

impl<'a, 'b> Add<&'a Complex<u16>> for &'b u16[src]

type Output = Complex<u16>

pub fn add(self, other: &Complex<u16>) -> Complex<u16>[src]

impl<'a> Add<&'a Complex<f32>> for f32[src]

type Output = Complex<f32>

pub fn add(self, other: &Complex<f32>) -> Complex<f32>[src]

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

type Output = Complex<f32>

pub fn add(self, other: Complex<f32>) -> <f32 as Add<Complex<f32>>>::Output[src]

impl<'a> Add<&'a Complex<u32>> for u32[src]

type Output = Complex<u32>

pub fn add(self, other: &Complex<u32>) -> Complex<u32>[src]

impl Add<Complex<i8>> for i8[src]

type Output = Complex<i8>

pub fn add(self, other: Complex<i8>) -> <i8 as Add<Complex<i8>>>::Output[src]

impl<'a> Add<Complex<i8>> for &'a i8[src]

type Output = Complex<i8>

pub fn add(self, other: Complex<i8>) -> Complex<i8>[src]

impl<'a, T> Add<T> for &'a Complex<T> where
    T: Clone + Num
[src]

type Output = Complex<T>

pub fn add(self, other: T) -> <&'a Complex<T> as Add<T>>::Output[src]

impl<'a> Add<Complex<isize>> for &'a isize[src]

type Output = Complex<isize>

pub fn add(self, other: Complex<isize>) -> Complex<isize>[src]

impl Add<Complex<isize>> for isize[src]

type Output = Complex<isize>

pub fn add(
    self,
    other: Complex<isize>
) -> <isize as Add<Complex<isize>>>::Output
[src]

impl Add<Complex<u128>> for u128[src]

type Output = Complex<u128>

pub fn add(self, other: Complex<u128>) -> <u128 as Add<Complex<u128>>>::Output[src]

impl<'a, T> Add<&'a Complex<T>> for Complex<T> where
    T: Clone + Num
[src]

type Output = Complex<T>

pub fn add(
    self,
    other: &Complex<T>
) -> <Complex<T> as Add<&'a Complex<T>>>::Output
[src]

impl<'a> Add<Complex<i16>> for &'a i16[src]

type Output = Complex<i16>

pub fn add(self, other: Complex<i16>) -> Complex<i16>[src]

impl<'a, 'b> Add<&'a Complex<f64>> for &'b f64[src]

type Output = Complex<f64>

pub fn add(self, other: &Complex<f64>) -> Complex<f64>[src]

impl<'a, 'b, T> Add<&'a T> for &'b Complex<T> where
    T: Clone + Num
[src]

type Output = Complex<T>

pub fn add(self, other: &T) -> <&'b Complex<T> as Add<&'a T>>::Output[src]

impl<'a> Add<&'a Complex<i16>> for i16[src]

type Output = Complex<i16>

pub fn add(self, other: &Complex<i16>) -> Complex<i16>[src]

impl<'a> Add<&'a Complex<u8>> for u8[src]

type Output = Complex<u8>

pub fn add(self, other: &Complex<u8>) -> Complex<u8>[src]

impl<'a, T> Add<Complex<T>> for &'a Complex<T> where
    T: Clone + Num
[src]

type Output = Complex<T>

pub fn add(
    self,
    other: Complex<T>
) -> <&'a Complex<T> as Add<Complex<T>>>::Output
[src]

impl<'a> Add<Complex<u16>> for &'a u16[src]

type Output = Complex<u16>

pub fn add(self, other: Complex<u16>) -> Complex<u16>[src]

impl<'a, 'b> Add<&'a Complex<usize>> for &'b usize[src]

type Output = Complex<usize>

pub fn add(self, other: &Complex<usize>) -> Complex<usize>[src]

impl<'a, 'b> Add<&'a Complex<i32>> for &'b i32[src]

type Output = Complex<i32>

pub fn add(self, other: &Complex<i32>) -> Complex<i32>[src]

impl<'a> Add<&'a Complex<f64>> for f64[src]

type Output = Complex<f64>

pub fn add(self, other: &Complex<f64>) -> Complex<f64>[src]

impl<T> Add<T> for Complex<T> where
    T: Clone + Num
[src]

type Output = Complex<T>

pub fn add(self, other: T) -> <Complex<T> as Add<T>>::Output[src]

impl Add<Complex<u64>> for u64[src]

type Output = Complex<u64>

pub fn add(self, other: Complex<u64>) -> <u64 as Add<Complex<u64>>>::Output[src]

impl<'a> Add<Complex<i32>> for &'a i32[src]

type Output = Complex<i32>

pub fn add(self, other: Complex<i32>) -> Complex<i32>[src]

impl<'a> Add<&'a Complex<u128>> for u128[src]

type Output = Complex<u128>

pub fn add(self, other: &Complex<u128>) -> Complex<u128>[src]

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

type Output = Complex<f64>

pub fn add(self, other: Complex<f64>) -> <f64 as Add<Complex<f64>>>::Output[src]

impl<T> Add<Complex<T>> for Complex<T> where
    T: Clone + Num
[src]

type Output = Complex<T>

pub fn add(self, other: Complex<T>) -> <Complex<T> as Add<Complex<T>>>::Output[src]

impl<'a, 'b> Add<&'a Complex<u64>> for &'b u64[src]

type Output = Complex<u64>

pub fn add(self, other: &Complex<u64>) -> Complex<u64>[src]

impl<'a> Add<&'a Complex<i64>> for i64[src]

type Output = Complex<i64>

pub fn add(self, other: &Complex<i64>) -> Complex<i64>[src]

impl<'a> Add<Complex<u128>> for &'a u128[src]

type Output = Complex<u128>

pub fn add(self, other: Complex<u128>) -> Complex<u128>[src]

impl<'a> Add<&'a Complex<isize>> for isize[src]

type Output = Complex<isize>

pub fn add(self, other: &Complex<isize>) -> Complex<isize>[src]

impl<'a, 'b> Add<&'a Complex<u128>> for &'b u128[src]

type Output = Complex<u128>

pub fn add(self, other: &Complex<u128>) -> Complex<u128>[src]

impl<'a> Add<Complex<u8>> for &'a u8[src]

type Output = Complex<u8>

pub fn add(self, other: Complex<u8>) -> Complex<u8>[src]

impl<'a> Add<Complex<f32>> for &'a f32[src]

type Output = Complex<f32>

pub fn add(self, other: Complex<f32>) -> Complex<f32>[src]

impl<'a, 'b> Add<&'a Complex<i64>> for &'b i64[src]

type Output = Complex<i64>

pub fn add(self, other: &Complex<i64>) -> Complex<i64>[src]

impl<'a, 'b> Add<&'a Complex<isize>> for &'b isize[src]

type Output = Complex<isize>

pub fn add(self, other: &Complex<isize>) -> Complex<isize>[src]

impl Add<Complex<i32>> for i32[src]

type Output = Complex<i32>

pub fn add(self, other: Complex<i32>) -> <i32 as Add<Complex<i32>>>::Output[src]

impl<'a, 'b> Add<&'a Complex<i128>> for &'b i128[src]

type Output = Complex<i128>

pub fn add(self, other: &Complex<i128>) -> Complex<i128>[src]

impl Add<Complex<usize>> for usize[src]

type Output = Complex<usize>

pub fn add(
    self,
    other: Complex<usize>
) -> <usize as Add<Complex<usize>>>::Output
[src]

impl Add<Complex<u32>> for u32[src]

type Output = Complex<u32>

pub fn add(self, other: Complex<u32>) -> <u32 as Add<Complex<u32>>>::Output[src]

impl<'a> Add<&'a Complex<i8>> for i8[src]

type Output = Complex<i8>

pub fn add(self, other: &Complex<i8>) -> Complex<i8>[src]

impl<'a> Add<Complex<u64>> for &'a u64[src]

type Output = Complex<u64>

pub fn add(self, other: Complex<u64>) -> Complex<u64>[src]

impl<'a> Add<&'a Complex<i32>> for i32[src]

type Output = Complex<i32>

pub fn add(self, other: &Complex<i32>) -> Complex<i32>[src]

impl<'a> Add<Complex<i64>> for &'a i64[src]

type Output = Complex<i64>

pub fn add(self, other: Complex<i64>) -> Complex<i64>[src]

impl<'a> Add<&'a Complex<u64>> for u64[src]

type Output = Complex<u64>

pub fn add(self, other: &Complex<u64>) -> Complex<u64>[src]

impl<'a, T> Add<T> for &'a Ratio<T> where
    T: Clone + Integer
[src]

type Output = Ratio<T>

pub fn add(self, other: T) -> Ratio<T>[src]

impl<'a, 'b, T> Add<&'b Ratio<T>> for &'a Ratio<T> where
    T: Clone + Integer
[src]

type Output = Ratio<T>

pub fn add(self, other: &'b Ratio<T>) -> Ratio<T>[src]

impl<T> Add<T> for Ratio<T> where
    T: Clone + Integer
[src]

type Output = Ratio<T>

pub fn add(self, rhs: T) -> Ratio<T>[src]

impl<'a, T> Add<&'a Ratio<T>> for Ratio<T> where
    T: Clone + Integer
[src]

type Output = Ratio<T>

pub fn add(self, other: &Ratio<T>) -> Ratio<T>[src]

impl<'a, T> Add<&'a T> for Ratio<T> where
    T: Clone + Integer
[src]

type Output = Ratio<T>

pub fn add(self, other: &T) -> Ratio<T>[src]

impl<'a, T> Add<Ratio<T>> for &'a Ratio<T> where
    T: Clone + Integer
[src]

type Output = Ratio<T>

pub fn add(self, other: Ratio<T>) -> Ratio<T>[src]

impl<T> Add<Ratio<T>> for Ratio<T> where
    T: Clone + Integer
[src]

type Output = Ratio<T>

pub fn add(self, rhs: Ratio<T>) -> Ratio<T>[src]

impl<'a, 'b, T> Add<&'b T> for &'a Ratio<T> where
    T: Clone + Integer
[src]

type Output = Ratio<T>

pub fn add(self, other: &'b T) -> Ratio<T>[src]

impl<'a, T> Add<Quaternion<T>> for &'a Quaternion<T> where
    T: SimdRealField,
    <T as SimdValue>::Element: SimdRealField, 
[src]

type Output = Quaternion<T>

pub fn add(
    self,
    rhs: Quaternion<T>
) -> <&'a Quaternion<T> as Add<Quaternion<T>>>::Output
[src]

impl<T, D2, SB, const D1: usize> Add<Matrix<T, D2, Const<1_usize>, SB>> for Point<T, D1> where
    T: Scalar + ClosedAdd<T>,
    D2: Dim,
    SB: Storage<T, D2, Const<1_usize>>,
    ShapeConstraint: SameNumberOfRows<Const<D1>, D2>,
    ShapeConstraint: SameNumberOfColumns<Const<1_usize>, Const<1_usize>>,
    <ShapeConstraint as SameNumberOfRows<Const<D1>, D2>>::Representative == Const<D1>,
    <ShapeConstraint as SameNumberOfColumns<Const<1_usize>, Const<1_usize>>>::Representative == Const<1_usize>, 
[src]

type Output = Point<T, D1>

pub fn add(
    self,
    right: Matrix<T, D2, Const<1_usize>, SB>
) -> <Point<T, D1> as Add<Matrix<T, D2, Const<1_usize>, SB>>>::Output
[src]

impl<'a, 'b, T, D2, SB, const D1: usize> Add<&'b Matrix<T, D2, Const<1_usize>, SB>> for &'a Point<T, D1> where
    T: Scalar + ClosedAdd<T>,
    D2: Dim,
    SB: Storage<T, D2, Const<1_usize>>,
    ShapeConstraint: SameNumberOfRows<Const<D1>, D2>,
    ShapeConstraint: SameNumberOfColumns<Const<1_usize>, Const<1_usize>>,
    <ShapeConstraint as SameNumberOfRows<Const<D1>, D2>>::Representative == Const<D1>,
    <ShapeConstraint as SameNumberOfColumns<Const<1_usize>, Const<1_usize>>>::Representative == Const<1_usize>, 
[src]

type Output = Point<T, D1>

pub fn add(
    self,
    right: &'b Matrix<T, D2, Const<1_usize>, SB>
) -> <&'a Point<T, D1> as Add<&'b Matrix<T, D2, Const<1_usize>, SB>>>::Output
[src]

impl Add<usize> for Dynamic[src]

type Output = Dynamic

pub fn add(self, rhs: usize) -> Dynamic[src]

impl<'a, 'b, T, R1, C1, R2, C2, SA, SB> Add<&'b Matrix<T, R2, C2, SB>> for &'a Matrix<T, R1, C1, SA> where
    T: Scalar + ClosedAdd<T>,
    R2: Dim,
    C2: Dim,
    R1: Dim,
    C1: Dim,
    SB: Storage<T, R2, C2>,
    SA: Storage<T, R1, C1>,
    DefaultAllocator: SameShapeAllocator<T, R1, C1, R2, C2>,
    ShapeConstraint: SameNumberOfRows<R1, R2>,
    ShapeConstraint: SameNumberOfColumns<C1, C2>, 
[src]

type Output = Matrix<T, <ShapeConstraint as SameNumberOfRows<R1, R2>>::Representative, <ShapeConstraint as SameNumberOfColumns<C1, C2>>::Representative, <DefaultAllocator as Allocator<T, <ShapeConstraint as SameNumberOfRows<R1, R2>>::Representative, <ShapeConstraint as SameNumberOfColumns<C1, C2>>::Representative>>::Buffer>

pub fn add(
    self,
    rhs: &'b Matrix<T, R2, C2, SB>
) -> <&'a Matrix<T, R1, C1, SA> as Add<&'b Matrix<T, R2, C2, SB>>>::Output
[src]

impl<'b, T, R1, C1, R2, C2, SA, SB> Add<&'b Matrix<T, R2, C2, SB>> for Matrix<T, R1, C1, SA> where
    T: Scalar + ClosedAdd<T>,
    R2: Dim,
    C2: Dim,
    R1: Dim,
    C1: Dim,
    SB: Storage<T, R2, C2>,
    SA: Storage<T, R1, C1>,
    DefaultAllocator: SameShapeAllocator<T, R1, C1, R2, C2>,
    ShapeConstraint: SameNumberOfRows<R1, R2>,
    ShapeConstraint: SameNumberOfColumns<C1, C2>, 
[src]

type Output = Matrix<T, <ShapeConstraint as SameNumberOfRows<R1, R2>>::Representative, <ShapeConstraint as SameNumberOfColumns<C1, C2>>::Representative, <DefaultAllocator as Allocator<T, <ShapeConstraint as SameNumberOfRows<R1, R2>>::Representative, <ShapeConstraint as SameNumberOfColumns<C1, C2>>::Representative>>::Buffer>

pub fn add(
    self,
    rhs: &'b Matrix<T, R2, C2, SB>
) -> <Matrix<T, R1, C1, SA> as Add<&'b Matrix<T, R2, C2, SB>>>::Output
[src]

impl<'a, T, R1, C1, R2, C2, SA, SB> Add<Matrix<T, R2, C2, SB>> for &'a Matrix<T, R1, C1, SA> where
    T: Scalar + ClosedAdd<T>,
    R2: Dim,
    C2: Dim,
    R1: Dim,
    C1: Dim,
    SB: Storage<T, R2, C2>,
    SA: Storage<T, R1, C1>,
    DefaultAllocator: SameShapeAllocator<T, R2, C2, R1, C1>,
    ShapeConstraint: SameNumberOfRows<R2, R1>,
    ShapeConstraint: SameNumberOfColumns<C2, C1>, 
[src]

type Output = Matrix<T, <ShapeConstraint as SameNumberOfRows<R2, R1>>::Representative, <ShapeConstraint as SameNumberOfColumns<C2, C1>>::Representative, <DefaultAllocator as Allocator<T, <ShapeConstraint as SameNumberOfRows<R2, R1>>::Representative, <ShapeConstraint as SameNumberOfColumns<C2, C1>>::Representative>>::Buffer>

pub fn add(
    self,
    rhs: Matrix<T, R2, C2, SB>
) -> <&'a Matrix<T, R1, C1, SA> as Add<Matrix<T, R2, C2, SB>>>::Output
[src]

impl<T, R1, C1, R2, C2, SA, SB> Add<Matrix<T, R2, C2, SB>> for Matrix<T, R1, C1, SA> where
    T: Scalar + ClosedAdd<T>,
    R2: Dim,
    C2: Dim,
    R1: Dim,
    C1: Dim,
    SB: Storage<T, R2, C2>,
    SA: Storage<T, R1, C1>,
    DefaultAllocator: SameShapeAllocator<T, R1, C1, R2, C2>,
    ShapeConstraint: SameNumberOfRows<R1, R2>,
    ShapeConstraint: SameNumberOfColumns<C1, C2>, 
[src]

type Output = Matrix<T, <ShapeConstraint as SameNumberOfRows<R1, R2>>::Representative, <ShapeConstraint as SameNumberOfColumns<C1, C2>>::Representative, <DefaultAllocator as Allocator<T, <ShapeConstraint as SameNumberOfRows<R1, R2>>::Representative, <ShapeConstraint as SameNumberOfColumns<C1, C2>>::Representative>>::Buffer>

pub fn add(
    self,
    rhs: Matrix<T, R2, C2, SB>
) -> <Matrix<T, R1, C1, SA> as Add<Matrix<T, R2, C2, SB>>>::Output
[src]

impl<'b, T> Add<&'b Quaternion<T>> for Quaternion<T> where
    T: SimdRealField,
    <T as SimdValue>::Element: SimdRealField, 
[src]

type Output = Quaternion<T>

pub fn add(
    self,
    rhs: &'b Quaternion<T>
) -> <Quaternion<T> as Add<&'b Quaternion<T>>>::Output
[src]

impl<'a, T, D2, SB, const D1: usize> Add<Matrix<T, D2, Const<1_usize>, SB>> for &'a Point<T, D1> where
    T: Scalar + ClosedAdd<T>,
    D2: Dim,
    SB: Storage<T, D2, Const<1_usize>>,
    ShapeConstraint: SameNumberOfRows<Const<D1>, D2>,
    ShapeConstraint: SameNumberOfColumns<Const<1_usize>, Const<1_usize>>,
    <ShapeConstraint as SameNumberOfRows<Const<D1>, D2>>::Representative == Const<D1>,
    <ShapeConstraint as SameNumberOfColumns<Const<1_usize>, Const<1_usize>>>::Representative == Const<1_usize>, 
[src]

type Output = Point<T, D1>

pub fn add(
    self,
    right: Matrix<T, D2, Const<1_usize>, SB>
) -> <&'a Point<T, D1> as Add<Matrix<T, D2, Const<1_usize>, SB>>>::Output
[src]

impl<T> Add<DualQuaternion<T>> for DualQuaternion<T> where
    T: SimdRealField,
    <T as SimdValue>::Element: SimdRealField, 
[src]

type Output = DualQuaternion<T>

pub fn add(
    self,
    rhs: DualQuaternion<T>
) -> <DualQuaternion<T> as Add<DualQuaternion<T>>>::Output
[src]

impl<'a, T> Add<DualQuaternion<T>> for &'a DualQuaternion<T> where
    T: SimdRealField,
    <T as SimdValue>::Element: SimdRealField, 
[src]

type Output = DualQuaternion<T>

pub fn add(
    self,
    rhs: DualQuaternion<T>
) -> <&'a DualQuaternion<T> as Add<DualQuaternion<T>>>::Output
[src]

impl<'a, 'b, T> Add<&'b DualQuaternion<T>> for &'a DualQuaternion<T> where
    T: SimdRealField,
    <T as SimdValue>::Element: SimdRealField, 
[src]

type Output = DualQuaternion<T>

pub fn add(
    self,
    rhs: &'b DualQuaternion<T>
) -> <&'a DualQuaternion<T> as Add<&'b DualQuaternion<T>>>::Output
[src]

impl<'a, 'b, T> Add<&'b Quaternion<T>> for &'a Quaternion<T> where
    T: SimdRealField,
    <T as SimdValue>::Element: SimdRealField, 
[src]

type Output = Quaternion<T>

pub fn add(
    self,
    rhs: &'b Quaternion<T>
) -> <&'a Quaternion<T> as Add<&'b Quaternion<T>>>::Output
[src]

impl<T> Add<Quaternion<T>> for Quaternion<T> where
    T: SimdRealField,
    <T as SimdValue>::Element: SimdRealField, 
[src]

type Output = Quaternion<T>

pub fn add(
    self,
    rhs: Quaternion<T>
) -> <Quaternion<T> as Add<Quaternion<T>>>::Output
[src]

impl<'b, T> Add<&'b DualQuaternion<T>> for DualQuaternion<T> where
    T: SimdRealField,
    <T as SimdValue>::Element: SimdRealField, 
[src]

type Output = DualQuaternion<T>

pub fn add(
    self,
    rhs: &'b DualQuaternion<T>
) -> <DualQuaternion<T> as Add<&'b DualQuaternion<T>>>::Output
[src]

impl<'b, T, D2, SB, const D1: usize> Add<&'b Matrix<T, D2, Const<1_usize>, SB>> for Point<T, D1> where
    T: Scalar + ClosedAdd<T>,
    D2: Dim,
    SB: Storage<T, D2, Const<1_usize>>,
    ShapeConstraint: SameNumberOfRows<Const<D1>, D2>,
    ShapeConstraint: SameNumberOfColumns<Const<1_usize>, Const<1_usize>>,
    <ShapeConstraint as SameNumberOfRows<Const<D1>, D2>>::Representative == Const<D1>,
    <ShapeConstraint as SameNumberOfColumns<Const<1_usize>, Const<1_usize>>>::Representative == Const<1_usize>, 
[src]

type Output = Point<T, D1>

pub fn add(
    self,
    right: &'b Matrix<T, D2, Const<1_usize>, SB>
) -> <Point<T, D1> as Add<&'b Matrix<T, D2, Const<1_usize>, SB>>>::Output
[src]

impl Add<AutoSimd<[u32; 8]>> for AutoSimd<[u32; 8]>

type Output = AutoSimd<[u32; 8]>

pub fn add(self, rhs: AutoSimd<[u32; 8]>) -> AutoSimd<[u32; 8]>

impl Add<AutoSimd<[i16; 8]>> for AutoSimd<[i16; 8]>

type Output = AutoSimd<[i16; 8]>

pub fn add(self, rhs: AutoSimd<[i16; 8]>) -> AutoSimd<[i16; 8]>

impl Add<AutoSimd<[i16; 4]>> for AutoSimd<[i16; 4]>

type Output = AutoSimd<[i16; 4]>

pub fn add(self, rhs: AutoSimd<[i16; 4]>) -> AutoSimd<[i16; 4]>

impl Add<AutoSimd<[u32; 16]>> for AutoSimd<[u32; 16]>

type Output = AutoSimd<[u32; 16]>

pub fn add(self, rhs: AutoSimd<[u32; 16]>) -> AutoSimd<[u32; 16]>

impl Add<AutoSimd<[i32; 2]>> for AutoSimd<[i32; 2]>

type Output = AutoSimd<[i32; 2]>

pub fn add(self, rhs: AutoSimd<[i32; 2]>) -> AutoSimd<[i32; 2]>

impl Add<AutoSimd<[i128; 1]>> for AutoSimd<[i128; 1]>

type Output = AutoSimd<[i128; 1]>

pub fn add(self, rhs: AutoSimd<[i128; 1]>) -> AutoSimd<[i128; 1]>

impl Add<AutoSimd<[f32; 16]>> for AutoSimd<[f32; 16]>

type Output = AutoSimd<[f32; 16]>

pub fn add(self, rhs: AutoSimd<[f32; 16]>) -> AutoSimd<[f32; 16]>

impl Add<AutoSimd<[i32; 4]>> for AutoSimd<[i32; 4]>

type Output = AutoSimd<[i32; 4]>

pub fn add(self, rhs: AutoSimd<[i32; 4]>) -> AutoSimd<[i32; 4]>

impl Add<AutoSimd<[u16; 2]>> for AutoSimd<[u16; 2]>

type Output = AutoSimd<[u16; 2]>

pub fn add(self, rhs: AutoSimd<[u16; 2]>) -> AutoSimd<[u16; 2]>

impl Add<AutoSimd<[u128; 2]>> for AutoSimd<[u128; 2]>

type Output = AutoSimd<[u128; 2]>

pub fn add(self, rhs: AutoSimd<[u128; 2]>) -> AutoSimd<[u128; 2]>

impl Add<AutoSimd<[u8; 4]>> for AutoSimd<[u8; 4]>

type Output = AutoSimd<[u8; 4]>

pub fn add(self, rhs: AutoSimd<[u8; 4]>) -> AutoSimd<[u8; 4]>

impl Add<AutoSimd<[u16; 16]>> for AutoSimd<[u16; 16]>

type Output = AutoSimd<[u16; 16]>

pub fn add(self, rhs: AutoSimd<[u16; 16]>) -> AutoSimd<[u16; 16]>

impl Add<AutoSimd<[usize; 8]>> for AutoSimd<[usize; 8]>

type Output = AutoSimd<[usize; 8]>

pub fn add(self, rhs: AutoSimd<[usize; 8]>) -> AutoSimd<[usize; 8]>

impl Add<AutoSimd<[i64; 2]>> for AutoSimd<[i64; 2]>

type Output = AutoSimd<[i64; 2]>

pub fn add(self, rhs: AutoSimd<[i64; 2]>) -> AutoSimd<[i64; 2]>

impl Add<AutoSimd<[u64; 2]>> for AutoSimd<[u64; 2]>

type Output = AutoSimd<[u64; 2]>

pub fn add(self, rhs: AutoSimd<[u64; 2]>) -> AutoSimd<[u64; 2]>

impl Add<AutoSimd<[i8; 16]>> for AutoSimd<[i8; 16]>

type Output = AutoSimd<[i8; 16]>

pub fn add(self, rhs: AutoSimd<[i8; 16]>) -> AutoSimd<[i8; 16]>

impl Add<AutoSimd<[u32; 2]>> for AutoSimd<[u32; 2]>

type Output = AutoSimd<[u32; 2]>

pub fn add(self, rhs: AutoSimd<[u32; 2]>) -> AutoSimd<[u32; 2]>

impl Add<AutoSimd<[f64; 4]>> for AutoSimd<[f64; 4]>

type Output = AutoSimd<[f64; 4]>

pub fn add(self, rhs: AutoSimd<[f64; 4]>) -> AutoSimd<[f64; 4]>

impl Add<AutoSimd<[i8; 2]>> for AutoSimd<[i8; 2]>

type Output = AutoSimd<[i8; 2]>

pub fn add(self, rhs: AutoSimd<[i8; 2]>) -> AutoSimd<[i8; 2]>

impl Add<AutoSimd<[i64; 4]>> for AutoSimd<[i64; 4]>

type Output = AutoSimd<[i64; 4]>

pub fn add(self, rhs: AutoSimd<[i64; 4]>) -> AutoSimd<[i64; 4]>

impl Add<AutoSimd<[u16; 32]>> for AutoSimd<[u16; 32]>

type Output = AutoSimd<[u16; 32]>

pub fn add(self, rhs: AutoSimd<[u16; 32]>) -> AutoSimd<[u16; 32]>

impl Add<AutoSimd<[isize; 2]>> for AutoSimd<[isize; 2]>

type Output = AutoSimd<[isize; 2]>

pub fn add(self, rhs: AutoSimd<[isize; 2]>) -> AutoSimd<[isize; 2]>

impl Add<AutoSimd<[i8; 8]>> for AutoSimd<[i8; 8]>

type Output = AutoSimd<[i8; 8]>

pub fn add(self, rhs: AutoSimd<[i8; 8]>) -> AutoSimd<[i8; 8]>

impl Add<AutoSimd<[i128; 2]>> for AutoSimd<[i128; 2]>

type Output = AutoSimd<[i128; 2]>

pub fn add(self, rhs: AutoSimd<[i128; 2]>) -> AutoSimd<[i128; 2]>

impl Add<AutoSimd<[f32; 2]>> for AutoSimd<[f32; 2]>

type Output = AutoSimd<[f32; 2]>

pub fn add(self, rhs: AutoSimd<[f32; 2]>) -> AutoSimd<[f32; 2]>

impl Add<AutoSimd<[i8; 32]>> for AutoSimd<[i8; 32]>

type Output = AutoSimd<[i8; 32]>

pub fn add(self, rhs: AutoSimd<[i8; 32]>) -> AutoSimd<[i8; 32]>

impl Add<AutoSimd<[i32; 8]>> for AutoSimd<[i32; 8]>

type Output = AutoSimd<[i32; 8]>

pub fn add(self, rhs: AutoSimd<[i32; 8]>) -> AutoSimd<[i32; 8]>

impl Add<AutoSimd<[f32; 8]>> for AutoSimd<[f32; 8]>

type Output = AutoSimd<[f32; 8]>

pub fn add(self, rhs: AutoSimd<[f32; 8]>) -> AutoSimd<[f32; 8]>

impl Add<AutoSimd<[f64; 8]>> for AutoSimd<[f64; 8]>

type Output = AutoSimd<[f64; 8]>

pub fn add(self, rhs: AutoSimd<[f64; 8]>) -> AutoSimd<[f64; 8]>

impl Add<AutoSimd<[isize; 4]>> for AutoSimd<[isize; 4]>

type Output = AutoSimd<[isize; 4]>

pub fn add(self, rhs: AutoSimd<[isize; 4]>) -> AutoSimd<[isize; 4]>

impl Add<AutoSimd<[f64; 2]>> for AutoSimd<[f64; 2]>

type Output = AutoSimd<[f64; 2]>

pub fn add(self, rhs: AutoSimd<[f64; 2]>) -> AutoSimd<[f64; 2]>

impl Add<AutoSimd<[u16; 4]>> for AutoSimd<[u16; 4]>

type Output = AutoSimd<[u16; 4]>

pub fn add(self, rhs: AutoSimd<[u16; 4]>) -> AutoSimd<[u16; 4]>

impl Add<AutoSimd<[u64; 4]>> for AutoSimd<[u64; 4]>

type Output = AutoSimd<[u64; 4]>

pub fn add(self, rhs: AutoSimd<[u64; 4]>) -> AutoSimd<[u64; 4]>

impl Add<AutoSimd<[u8; 2]>> for AutoSimd<[u8; 2]>

type Output = AutoSimd<[u8; 2]>

pub fn add(self, rhs: AutoSimd<[u8; 2]>) -> AutoSimd<[u8; 2]>

impl Add<AutoSimd<[i8; 4]>> for AutoSimd<[i8; 4]>

type Output = AutoSimd<[i8; 4]>

pub fn add(self, rhs: AutoSimd<[i8; 4]>) -> AutoSimd<[i8; 4]>

impl Add<AutoSimd<[i16; 2]>> for AutoSimd<[i16; 2]>

type Output = AutoSimd<[i16; 2]>

pub fn add(self, rhs: AutoSimd<[i16; 2]>) -> AutoSimd<[i16; 2]>

impl Add<AutoSimd<[usize; 2]>> for AutoSimd<[usize; 2]>

type Output = AutoSimd<[usize; 2]>

pub fn add(self, rhs: AutoSimd<[usize; 2]>) -> AutoSimd<[usize; 2]>

impl Add<AutoSimd<[i16; 32]>> for AutoSimd<[i16; 32]>

type Output = AutoSimd<[i16; 32]>

pub fn add(self, rhs: AutoSimd<[i16; 32]>) -> AutoSimd<[i16; 32]>

impl Add<AutoSimd<[f32; 4]>> for AutoSimd<[f32; 4]>

type Output = AutoSimd<[f32; 4]>

pub fn add(self, rhs: AutoSimd<[f32; 4]>) -> AutoSimd<[f32; 4]>

impl Add<AutoSimd<[u16; 8]>> for AutoSimd<[u16; 8]>

type Output = AutoSimd<[u16; 8]>

pub fn add(self, rhs: AutoSimd<[u16; 8]>) -> AutoSimd<[u16; 8]>

impl Add<AutoSimd<[u64; 8]>> for AutoSimd<[u64; 8]>

type Output = AutoSimd<[u64; 8]>

pub fn add(self, rhs: AutoSimd<[u64; 8]>) -> AutoSimd<[u64; 8]>

impl Add<AutoSimd<[u128; 4]>> for AutoSimd<[u128; 4]>

type Output = AutoSimd<[u128; 4]>

pub fn add(self, rhs: AutoSimd<[u128; 4]>) -> AutoSimd<[u128; 4]>

impl Add<AutoSimd<[i64; 8]>> for AutoSimd<[i64; 8]>

type Output = AutoSimd<[i64; 8]>

pub fn add(self, rhs: AutoSimd<[i64; 8]>) -> AutoSimd<[i64; 8]>

impl Add<AutoSimd<[u128; 1]>> for AutoSimd<[u128; 1]>

type Output = AutoSimd<[u128; 1]>

pub fn add(self, rhs: AutoSimd<[u128; 1]>) -> AutoSimd<[u128; 1]>

impl Add<AutoSimd<[i32; 16]>> for AutoSimd<[i32; 16]>

type Output = AutoSimd<[i32; 16]>

pub fn add(self, rhs: AutoSimd<[i32; 16]>) -> AutoSimd<[i32; 16]>

impl Add<AutoSimd<[isize; 8]>> for AutoSimd<[isize; 8]>

type Output = AutoSimd<[isize; 8]>

pub fn add(self, rhs: AutoSimd<[isize; 8]>) -> AutoSimd<[isize; 8]>

impl Add<AutoSimd<[u8; 16]>> for AutoSimd<[u8; 16]>

type Output = AutoSimd<[u8; 16]>

pub fn add(self, rhs: AutoSimd<[u8; 16]>) -> AutoSimd<[u8; 16]>

impl Add<AutoSimd<[usize; 4]>> for AutoSimd<[usize; 4]>

type Output = AutoSimd<[usize; 4]>

pub fn add(self, rhs: AutoSimd<[usize; 4]>) -> AutoSimd<[usize; 4]>

impl Add<AutoSimd<[i16; 16]>> for AutoSimd<[i16; 16]>

type Output = AutoSimd<[i16; 16]>

pub fn add(self, rhs: AutoSimd<[i16; 16]>) -> AutoSimd<[i16; 16]>

impl Add<AutoSimd<[u8; 32]>> for AutoSimd<[u8; 32]>

type Output = AutoSimd<[u8; 32]>

pub fn add(self, rhs: AutoSimd<[u8; 32]>) -> AutoSimd<[u8; 32]>

impl Add<AutoSimd<[u32; 4]>> for AutoSimd<[u32; 4]>

type Output = AutoSimd<[u32; 4]>

pub fn add(self, rhs: AutoSimd<[u32; 4]>) -> AutoSimd<[u32; 4]>

impl Add<AutoSimd<[u8; 8]>> for AutoSimd<[u8; 8]>

type Output = AutoSimd<[u8; 8]>

pub fn add(self, rhs: AutoSimd<[u8; 8]>) -> AutoSimd<[u8; 8]>

impl Add<AutoSimd<[i128; 4]>> for AutoSimd<[i128; 4]>

type Output = AutoSimd<[i128; 4]>

pub fn add(self, rhs: AutoSimd<[i128; 4]>) -> AutoSimd<[i128; 4]>

impl<'a> Add<&'a Complex<usize>> for usize[src]

type Output = Complex<usize>

pub fn add(self, other: &Complex<usize>) -> Complex<usize>[src]

impl<'a> Add<Complex<isize>> for &'a isize[src]

type Output = Complex<isize>

pub fn add(self, other: Complex<isize>) -> Complex<isize>[src]

impl<'a> Add<&'a Complex<u64>> for u64[src]

type Output = Complex<u64>

pub fn add(self, other: &Complex<u64>) -> Complex<u64>[src]

impl<'a, 'b, T> Add<&'a T> for &'b Complex<T> where
    T: Clone + Num
[src]

type Output = Complex<T>

pub fn add(self, other: &T) -> <&'b Complex<T> as Add<&'a T>>::Output[src]

impl<'a, 'b> Add<&'a Complex<f32>> for &'b f32[src]

type Output = Complex<f32>

pub fn add(self, other: &Complex<f32>) -> Complex<f32>[src]

impl Add<Complex<i128>> for i128[src]

type Output = Complex<i128>

pub fn add(self, other: Complex<i128>) -> <i128 as Add<Complex<i128>>>::Output[src]

impl<'a> Add<&'a Complex<isize>> for isize[src]

type Output = Complex<isize>

pub fn add(self, other: &Complex<isize>) -> Complex<isize>[src]

impl<'a, 'b> Add<&'a Complex<u128>> for &'b u128[src]

type Output = Complex<u128>

pub fn add(self, other: &Complex<u128>) -> Complex<u128>[src]

impl Add<Complex<i64>> for i64[src]

type Output = Complex<i64>

pub fn add(self, other: Complex<i64>) -> <i64 as Add<Complex<i64>>>::Output[src]

impl<T> Add<T> for Complex<T> where
    T: Clone + Num
[src]

type Output = Complex<T>

pub fn add(self, other: T) -> <Complex<T> as Add<T>>::Output[src]

impl<T> Add<Complex<T>> for Complex<T> where
    T: Clone + Num
[src]

type Output = Complex<T>

pub fn add(self, other: Complex<T>) -> <Complex<T> as Add<Complex<T>>>::Output[src]

impl<'a, 'b> Add<&'a Complex<isize>> for &'b isize[src]

type Output = Complex<isize>

pub fn add(self, other: &Complex<isize>) -> Complex<isize>[src]

impl<'a> Add<Complex<u128>> for &'a u128[src]

type Output = Complex<u128>

pub fn add(self, other: Complex<u128>) -> Complex<u128>[src]

impl Add<Complex<usize>> for usize[src]

type Output = Complex<usize>

pub fn add(
    self,
    other: Complex<usize>
) -> <usize as Add<Complex<usize>>>::Output
[src]

impl<'a> Add<Complex<f64>> for &'a f64[src]

type Output = Complex<f64>

pub fn add(self, other: Complex<f64>) -> Complex<f64>[src]

impl Add<Complex<isize>> for isize[src]

type Output = Complex<isize>

pub fn add(
    self,
    other: Complex<isize>
) -> <isize as Add<Complex<isize>>>::Output
[src]

impl<'a> Add<&'a Complex<u32>> for u32[src]

type Output = Complex<u32>

pub fn add(self, other: &Complex<u32>) -> Complex<u32>[src]

impl<'a, 'b> Add<&'a Complex<i128>> for &'b i128[src]

type Output = Complex<i128>

pub fn add(self, other: &Complex<i128>) -> Complex<i128>[src]

impl Add<Complex<u16>> for u16[src]

type Output = Complex<u16>

pub fn add(self, other: Complex<u16>) -> <u16 as Add<Complex<u16>>>::Output[src]

impl<'a, 'b> Add<&'a Complex<u32>> for &'b u32[src]

type Output = Complex<u32>

pub fn add(self, other: &Complex<u32>) -> Complex<u32>[src]

impl<'a, T> Add<&'a T> for Complex<T> where
    T: Clone + Num
[src]

type Output = Complex<T>

pub fn add(self, other: &T) -> <Complex<T> as Add<&'a T>>::Output[src]

impl<'a> Add<&'a Complex<f32>> for f32[src]

type Output = Complex<f32>

pub fn add(self, other: &Complex<f32>) -> Complex<f32>[src]

impl Add<Complex<u64>> for u64[src]

type Output = Complex<u64>

pub fn add(self, other: Complex<u64>) -> <u64 as Add<Complex<u64>>>::Output[src]

impl<'a, 'b> Add<&'a Complex<i64>> for &'b i64[src]

type Output = Complex<i64>

pub fn add(self, other: &Complex<i64>) -> Complex<i64>[src]

impl<'a> Add<&'a Complex<u16>> for u16[src]

type Output = Complex<u16>

pub fn add(self, other: &Complex<u16>) -> Complex<u16>[src]

impl<'a> Add<&'a Complex<f64>> for f64[src]

type Output = Complex<f64>

pub fn add(self, other: &Complex<f64>) -> Complex<f64>[src]

impl<'a> Add<Complex<i8>> for &'a i8[src]

type Output = Complex<i8>

pub fn add(self, other: Complex<i8>) -> Complex<i8>[src]

impl<'a> Add<&'a Complex<u128>> for u128[src]

type Output = Complex<u128>

pub fn add(self, other: &Complex<u128>) -> Complex<u128>[src]

impl<'a, T> Add<Complex<T>> for &'a Complex<T> where
    T: Clone + Num
[src]

type Output = Complex<T>

pub fn add(
    self,
    other: Complex<T>
) -> <&'a Complex<T> as Add<Complex<T>>>::Output
[src]

impl Add<Complex<i16>> for i16[src]

type Output = Complex<i16>

pub fn add(self, other: Complex<i16>) -> <i16 as Add<Complex<i16>>>::Output[src]

impl Add<Complex<u128>> for u128[src]

type Output = Complex<u128>

pub fn add(self, other: Complex<u128>) -> <u128 as Add<Complex<u128>>>::Output[src]

impl<'a, 'b> Add<&'a Complex<f64>> for &'b f64[src]

type Output = Complex<f64>

pub fn add(self, other: &Complex<f64>) -> Complex<f64>[src]

impl<'a> Add<&'a Complex<u8>> for u8[src]

type Output = Complex<u8>

pub fn add(self, other: &Complex<u8>) -> Complex<u8>[src]

impl<'a, 'b> Add<&'a Complex<i32>> for &'b i32[src]

type Output = Complex<i32>

pub fn add(self, other: &Complex<i32>) -> Complex<i32>[src]

impl<'a> Add<Complex<u64>> for &'a u64[src]

type Output = Complex<u64>

pub fn add(self, other: Complex<u64>) -> Complex<u64>[src]

impl<'a, T> Add<&'a Complex<T>> for Complex<T> where
    T: Clone + Num
[src]

type Output = Complex<T>

pub fn add(
    self,
    other: &Complex<T>
) -> <Complex<T> as Add<&'a Complex<T>>>::Output
[src]

impl Add<Complex<u32>> for u32[src]

type Output = Complex<u32>

pub fn add(self, other: Complex<u32>) -> <u32 as Add<Complex<u32>>>::Output[src]

impl<'a> Add<&'a Complex<i8>> for i8[src]

type Output = Complex<i8>

pub fn add(self, other: &Complex<i8>) -> Complex<i8>[src]

impl<'a> Add<Complex<u8>> for &'a u8[src]

type Output = Complex<u8>

pub fn add(self, other: Complex<u8>) -> Complex<u8>[src]

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

type Output = Complex<f64>

pub fn add(self, other: Complex<f64>) -> <f64 as Add<Complex<f64>>>::Output[src]

impl<'a> Add<&'a Complex<i16>> for i16[src]

type Output = Complex<i16>

pub fn add(self, other: &Complex<i16>) -> Complex<i16>[src]

impl<'a, 'b, T> Add<&'b Complex<T>> for &'a Complex<T> where
    T: Clone + Num
[src]

type Output = Complex<T>

pub fn add(
    self,
    other: &Complex<T>
) -> <&'a Complex<T> as Add<&'b Complex<T>>>::Output
[src]

impl Add<Complex<i32>> for i32[src]

type Output = Complex<i32>

pub fn add(self, other: Complex<i32>) -> <i32 as Add<Complex<i32>>>::Output[src]

impl<'a> Add<Complex<i16>> for &'a i16[src]

type Output = Complex<i16>

pub fn add(self, other: Complex<i16>) -> Complex<i16>[src]

impl<'a> Add<Complex<i64>> for &'a i64[src]

type Output = Complex<i64>

pub fn add(self, other: Complex<i64>) -> Complex<i64>[src]

impl<'a> Add<Complex<i32>> for &'a i32[src]

type Output = Complex<i32>

pub fn add(self, other: Complex<i32>) -> Complex<i32>[src]

impl<'a> Add<&'a Complex<i128>> for i128[src]

type Output = Complex<i128>

pub fn add(self, other: &Complex<i128>) -> Complex<i128>[src]

impl<'a, 'b> Add<&'a Complex<usize>> for &'b usize[src]

type Output = Complex<usize>

pub fn add(self, other: &Complex<usize>) -> Complex<usize>[src]

impl<'a, 'b> Add<&'a Complex<i8>> for &'b i8[src]

type Output = Complex<i8>

pub fn add(self, other: &Complex<i8>) -> Complex<i8>[src]

impl<'a> Add<&'a Complex<i32>> for i32[src]

type Output = Complex<i32>

pub fn add(self, other: &Complex<i32>) -> Complex<i32>[src]

impl<'a, 'b> Add<&'a Complex<u16>> for &'b u16[src]

type Output = Complex<u16>

pub fn add(self, other: &Complex<u16>) -> Complex<u16>[src]

impl<'a, 'b> Add<&'a Complex<i16>> for &'b i16[src]

type Output = Complex<i16>

pub fn add(self, other: &Complex<i16>) -> Complex<i16>[src]

impl<'a> Add<Complex<u16>> for &'a u16[src]

type Output = Complex<u16>

pub fn add(self, other: Complex<u16>) -> Complex<u16>[src]

impl<'a, T> Add<T> for &'a Complex<T> where
    T: Clone + Num
[src]

type Output = Complex<T>

pub fn add(self, other: T) -> <&'a Complex<T> as Add<T>>::Output[src]

impl<'a> Add<Complex<usize>> for &'a usize[src]

type Output = Complex<usize>

pub fn add(self, other: Complex<usize>) -> Complex<usize>[src]

impl<'a> Add<&'a Complex<i64>> for i64[src]

type Output = Complex<i64>

pub fn add(self, other: &Complex<i64>) -> Complex<i64>[src]

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

type Output = Complex<f32>

pub fn add(self, other: Complex<f32>) -> <f32 as Add<Complex<f32>>>::Output[src]

impl<'a> Add<Complex<u32>> for &'a u32[src]

type Output = Complex<u32>

pub fn add(self, other: Complex<u32>) -> Complex<u32>[src]

impl<'a, 'b> Add<&'a Complex<u64>> for &'b u64[src]

type Output = Complex<u64>

pub fn add(self, other: &Complex<u64>) -> Complex<u64>[src]

impl<'a> Add<Complex<f32>> for &'a f32[src]

type Output = Complex<f32>

pub fn add(self, other: Complex<f32>) -> Complex<f32>[src]

impl Add<Complex<i8>> for i8[src]

type Output = Complex<i8>

pub fn add(self, other: Complex<i8>) -> <i8 as Add<Complex<i8>>>::Output[src]

impl<'a, 'b> Add<&'a Complex<u8>> for &'b u8[src]

type Output = Complex<u8>

pub fn add(self, other: &Complex<u8>) -> Complex<u8>[src]

impl Add<Complex<u8>> for u8[src]

type Output = Complex<u8>

pub fn add(self, other: Complex<u8>) -> <u8 as Add<Complex<u8>>>::Output[src]

impl<'a> Add<Complex<i128>> for &'a i128[src]

type Output = Complex<i128>

pub fn add(self, other: Complex<i128>) -> Complex<i128>[src]

impl<Ul, Ur> Add<UInt<Ur, B0>> for UInt<Ul, B1> where
    Ul: Unsigned + Add<Ur>,
    Ur: Unsigned, 

UInt<Ul, B1> + UInt<Ur, B0> = UInt<Ul + Ur, B1>

type Output = UInt<<Ul as Add<Ur>>::Output, B1>

pub fn add(
    self,
    rhs: UInt<Ur, B0>
) -> <UInt<Ul, B1> as Add<UInt<Ur, B0>>>::Output

impl<Ul, Ur> Add<PInt<Ur>> for PInt<Ul> where
    Ul: Unsigned + NonZero + Add<Ur>,
    Ur: Unsigned + NonZero,
    <Ul as Add<Ur>>::Output: Unsigned,
    <Ul as Add<Ur>>::Output: NonZero, 

P(Ul) + P(Ur) = P(Ul + Ur)

type Output = PInt<<Ul as Add<Ur>>::Output>

pub fn add(self, PInt<Ur>) -> <PInt<Ul> as Add<PInt<Ur>>>::Output

impl<U> Add<B1> for UInt<U, B1> where
    U: Unsigned + Add<B1>,
    <U as Add<B1>>::Output: Unsigned, 

UInt<U, B1> + B1 = UInt<U + B1, B0>

type Output = UInt<<U as Add<B1>>::Output, B0>

pub fn add(self, B1) -> <UInt<U, B1> as Add<B1>>::Output

impl<U> Add<U> for UTerm where
    U: Unsigned, 

UTerm + U = U

type Output = U

pub fn add(self, rhs: U) -> <UTerm as Add<U>>::Output

impl<Ul, Ur> Add<NInt<Ur>> for PInt<Ul> where
    Ul: Unsigned + NonZero + Cmp<Ur> + PrivateIntegerAdd<<Ul as Cmp<Ur>>::Output, Ur>,
    Ur: Unsigned + NonZero, 

P(Ul) + N(Ur): We resolve this with our PrivateAdd

type Output = <Ul as PrivateIntegerAdd<<Ul as Cmp<Ur>>::Output, Ur>>::Output

pub fn add(self, rhs: NInt<Ur>) -> <PInt<Ul> as Add<NInt<Ur>>>::Output

impl<Ul, Ur> Add<UInt<Ur, B1>> for UInt<Ul, B0> where
    Ul: Unsigned + Add<Ur>,
    Ur: Unsigned, 

UInt<Ul, B0> + UInt<Ur, B1> = UInt<Ul + Ur, B1>

type Output = UInt<<Ul as Add<Ur>>::Output, B1>

pub fn add(
    self,
    rhs: UInt<Ur, B1>
) -> <UInt<Ul, B0> as Add<UInt<Ur, B1>>>::Output

impl Add<ATerm> for ATerm

type Output = ATerm

pub fn add(self, ATerm) -> <ATerm as Add<ATerm>>::Output

impl<Ul, Ur> Add<NInt<Ur>> for NInt<Ul> where
    Ul: Unsigned + NonZero + Add<Ur>,
    Ur: Unsigned + NonZero,
    <Ul as Add<Ur>>::Output: Unsigned,
    <Ul as Add<Ur>>::Output: NonZero, 

N(Ul) + N(Ur) = N(Ul + Ur)

type Output = NInt<<Ul as Add<Ur>>::Output>

pub fn add(self, NInt<Ur>) -> <NInt<Ul> as Add<NInt<Ur>>>::Output

impl<U> Add<Z0> for PInt<U> where
    U: Unsigned + NonZero, 

PInt + Z0 = PInt

type Output = PInt<U>

pub fn add(self, Z0) -> <PInt<U> as Add<Z0>>::Output

impl<Ul, Ur> Add<PInt<Ur>> for NInt<Ul> where
    Ul: Unsigned + NonZero,
    Ur: Unsigned + NonZero + Cmp<Ul> + PrivateIntegerAdd<<Ur as Cmp<Ul>>::Output, Ul>, 

N(Ul) + P(Ur): We resolve this with our PrivateAdd

type Output = <Ur as PrivateIntegerAdd<<Ur as Cmp<Ul>>::Output, Ul>>::Output

pub fn add(self, rhs: PInt<Ur>) -> <NInt<Ul> as Add<PInt<Ur>>>::Output

impl<I> Add<I> for Z0 where
    I: Integer, 

Z0 + I = I

type Output = I

pub fn add(self, rhs: I) -> <Z0 as Add<I>>::Output

impl<U> Add<Z0> for NInt<U> where
    U: Unsigned + NonZero, 

NInt + Z0 = NInt

type Output = NInt<U>

pub fn add(self, Z0) -> <NInt<U> as Add<Z0>>::Output

impl<Al, Vl, Ar, Vr> Add<TArr<Vr, Ar>> for TArr<Vl, Al> where
    Vl: Add<Vr>,
    Al: Add<Ar>, 

type Output = TArr<<Vl as Add<Vr>>::Output, <Al as Add<Ar>>::Output>

pub fn add(
    self,
    rhs: TArr<Vr, Ar>
) -> <TArr<Vl, Al> as Add<TArr<Vr, Ar>>>::Output

impl Add<B1> for UTerm

UTerm + B1 = UInt<UTerm, B1>

type Output = UInt<UTerm, B1>

pub fn add(self, B1) -> <UTerm as Add<B1>>::Output

impl<U, B> Add<UTerm> for UInt<U, B> where
    U: Unsigned,
    B: Bit, 

UInt<U, B> + UTerm = UInt<U, B>

type Output = UInt<U, B>

pub fn add(self, UTerm) -> <UInt<U, B> as Add<UTerm>>::Output

impl<Ul, Ur> Add<UInt<Ur, B1>> for UInt<Ul, B1> where
    Ul: Unsigned + Add<Ur>,
    Ur: Unsigned,
    <Ul as Add<Ur>>::Output: Add<B1>, 

UInt<Ul, B1> + UInt<Ur, B1> = UInt<(Ul + Ur) + B1, B0>

type Output = UInt<<<Ul as Add<Ur>>::Output as Add<B1>>::Output, B0>

pub fn add(
    self,
    rhs: UInt<Ur, B1>
) -> <UInt<Ul, B1> as Add<UInt<Ur, B1>>>::Output

impl<U> Add<B1> for UInt<U, B0> where
    U: Unsigned, 

UInt<U, B0> + B1 = UInt<U + B1>

type Output = UInt<U, B1>

pub fn add(self, B1) -> <UInt<U, B0> as Add<B1>>::Output

impl<U, B> Add<B0> for UInt<U, B> where
    U: Unsigned,
    B: Bit, 

U + B0 = U

type Output = UInt<U, B>

pub fn add(self, B0) -> <UInt<U, B> as Add<B0>>::Output

impl<Ul, Ur> Add<UInt<Ur, B0>> for UInt<Ul, B0> where
    Ul: Unsigned + Add<Ur>,
    Ur: Unsigned, 

UInt<Ul, B0> + UInt<Ur, B0> = UInt<Ul + Ur, B0>

type Output = UInt<<Ul as Add<Ur>>::Output, B0>

pub fn add(
    self,
    rhs: UInt<Ur, B0>
) -> <UInt<Ul, B0> as Add<UInt<Ur, B0>>>::Output

impl Add<B0> for UTerm

UTerm + B0 = UTerm

type Output = UTerm

pub fn add(self, B0) -> <UTerm as Add<B0>>::Output

impl<'a, T> Add<Ratio<T>> for &'a Ratio<T> where
    T: Clone + Integer
[src]

type Output = Ratio<T>

pub fn add(self, other: Ratio<T>) -> Ratio<T>[src]

impl<'a, T> Add<&'a Ratio<T>> for Ratio<T> where
    T: Clone + Integer
[src]

type Output = Ratio<T>

pub fn add(self, other: &Ratio<T>) -> Ratio<T>[src]

impl<'a, 'b, T> Add<&'b Ratio<T>> for &'a Ratio<T> where
    T: Clone + Integer
[src]

type Output = Ratio<T>

pub fn add(self, other: &'b Ratio<T>) -> Ratio<T>[src]

impl<T> Add<Ratio<T>> for Ratio<T> where
    T: Clone + Integer
[src]

type Output = Ratio<T>

pub fn add(self, rhs: Ratio<T>) -> Ratio<T>[src]

impl<T> Add<T> for Ratio<T> where
    T: Clone + Integer
[src]

type Output = Ratio<T>

pub fn add(self, rhs: T) -> Ratio<T>[src]

impl<'a, 'b, T> Add<&'b T> for &'a Ratio<T> where
    T: Clone + Integer
[src]

type Output = Ratio<T>

pub fn add(self, other: &'b T) -> Ratio<T>[src]

impl<'a, T> Add<&'a T> for Ratio<T> where
    T: Clone + Integer
[src]

type Output = Ratio<T>

pub fn add(self, other: &T) -> Ratio<T>[src]

impl<'a, T> Add<T> for &'a Ratio<T> where
    T: Clone + Integer
[src]

type Output = Ratio<T>

pub fn add(self, other: T) -> Ratio<T>[src]

Implementors

impl<'a> Add<&'a str> for Cow<'a, str>1.14.0[src]

type Output = Cow<'a, str>

pub fn add(self, rhs: &'a str) -> <Cow<'a, str> as Add<&'a str>>::Output[src]

impl<'a> Add<Cow<'a, str>> for Cow<'a, str>1.14.0[src]

type Output = Cow<'a, str>

pub fn add(
    self,
    rhs: Cow<'a, str>
) -> <Cow<'a, str> as Add<Cow<'a, str>>>::Output
[src]