Trait nom::lib::std::ops::Add1.0.0[][src]

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

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]
pub 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 SystemTime[src]

type Output = SystemTime

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.

impl Add<Duration> for Instant[src]

type Output = Instant

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.

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

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

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

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

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

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

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

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

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

impl Add<u16> for u16[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

impl Add<i8> for i8[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

impl Add<usize> for usize[src]

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

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

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

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

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

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

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

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

impl Add<u32> for u32[src]

impl Add<u8> for u8[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

impl Add<i128> for i128[src]

impl Add<i16> for i16[src]

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

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

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

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

impl Add<i64> for i64[src]

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

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

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

impl Add<f32> for f32[src]

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

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

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

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

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

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

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

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

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

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

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

impl Add<i32> for i32[src]

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

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

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

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

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

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

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

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

impl Add<u128> for u128[src]

impl Add<isize> for isize[src]

impl Add<u64> for u64[src]

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

impl Add<f64> for f64[src]

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

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

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

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

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

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

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

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

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

impl Add<Duration> for Duration[src]

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

Implementors

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;

impl<'a> Add<&'a str> for Cow<'a, str>1.14.0[src]

type Output = Cow<'a, str>

impl<'a> Add<Cow<'a, str>> for Cow<'a, str>1.14.0[src]

type Output = Cow<'a, str>

impl<N: Add<N, Output = N>> Add<Deg<N>> for Deg<N>

impl<N: Add<N, Output = N>> Add<Rad<N>> for Rad<N>

impl Add<FixedOffset> for NaiveTime

impl Add<FixedOffset> for NaiveDateTime

impl<Tz: TimeZone> Add<FixedOffset> for DateTime<Tz>

impl Add<Duration> for NaiveDate

impl Add<Duration> for NaiveDateTime

impl Add<Duration> for NaiveTime

impl<Tz: TimeZone> Add<Duration> for Date<Tz>

impl<Tz: TimeZone> Add<Duration> for DateTime<Tz>

impl<T: Channel + Add<T, Output = T>, S> Add<Rgb<T, S>> for Rgb<T, S>

impl<T: Channel + Add<T, Output = T>, C: Add<Output = C>> Add<AlphaColor<T, C>> for AlphaColor<T, C>

impl<T: Channel + Add<T, Output = T>, S> Add<Luma<T, S>> for Luma<T, S>

impl<T, Wp> Add<Yxy<T, Wp>> for Yxy<T, Wp> where
    T: Channel + Float,
    Wp: WhitePoint

impl<T: Channel + Float + NumCast, Wp: WhitePoint> Add<Lab<T, Wp>> for Lab<T, Wp>

impl<T> Add<Dual<T>> for Dual<T> where
    T: Add<Output = T>, 

impl Add<FloatDuration> for FloatDuration

impl Add<Duration> for FloatInstant

impl Add<usize> for Dynamic

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

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

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

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

impl<'a, 'b, N, D1: DimName, D2: Dim, SB: Storage<N, D2>> Add<&'b Matrix<N, D2, U1, SB>> for &'a Point<N, D1> where
    N: Scalar + ClosedAdd,
    DefaultAllocator: Allocator<N, D1, U1> + Allocator<N, D2, U1> + SameShapeAllocator<N, D1, U1, D2, U1>,
    ShapeConstraint: SameNumberOfRows<D1, D2, Representative = D1> + SameNumberOfColumns<U1, U1>, 

impl<'a, N, D1: DimName, D2: Dim, SB: Storage<N, D2>> Add<Matrix<N, D2, U1, SB>> for &'a Point<N, D1> where
    N: Scalar + ClosedAdd,
    DefaultAllocator: Allocator<N, D1, U1> + Allocator<N, D2, U1> + SameShapeAllocator<N, D1, U1, D2, U1>,
    ShapeConstraint: SameNumberOfRows<D1, D2, Representative = D1> + SameNumberOfColumns<U1, U1>, 

impl<'b, N, D1: DimName, D2: Dim, SB: Storage<N, D2>> Add<&'b Matrix<N, D2, U1, SB>> for Point<N, D1> where
    N: Scalar + ClosedAdd,
    DefaultAllocator: Allocator<N, D1, U1> + Allocator<N, D2, U1> + SameShapeAllocator<N, D1, U1, D2, U1>,
    ShapeConstraint: SameNumberOfRows<D1, D2, Representative = D1> + SameNumberOfColumns<U1, U1>, 

impl<N, D1: DimName, D2: Dim, SB: Storage<N, D2>> Add<Matrix<N, D2, U1, SB>> for Point<N, D1> where
    N: Scalar + ClosedAdd,
    DefaultAllocator: Allocator<N, D1, U1> + Allocator<N, D2, U1> + SameShapeAllocator<N, D1, U1, D2, U1>,
    ShapeConstraint: SameNumberOfRows<D1, D2, Representative = D1> + SameNumberOfColumns<U1, U1>, 

impl<'a, 'b, N: SimdRealField> Add<&'b Quaternion<N>> for &'a Quaternion<N> where
    N::Element: SimdRealField,
    DefaultAllocator: Allocator<N, U4, U1>, 

impl<'a, N: SimdRealField> Add<Quaternion<N>> for &'a Quaternion<N> where
    N::Element: SimdRealField,
    DefaultAllocator: Allocator<N, U4, U1>, 

impl<'b, N: SimdRealField> Add<&'b Quaternion<N>> for Quaternion<N> where
    N::Element: SimdRealField,
    DefaultAllocator: Allocator<N, U4, U1>, 

impl<N: SimdRealField> Add<Quaternion<N>> for Quaternion<N> where
    N::Element: SimdRealField,
    DefaultAllocator: Allocator<N, U4, U1>, 

impl<N: SimdRealField> Add<DualQuaternion<N>> for DualQuaternion<N> where
    N::Element: SimdRealField

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

impl<'a, T: Clone + Num> Add<Complex<T>> for &'a Complex<T>

impl<'a, T: Clone + Num> Add<&'a Complex<T>> for Complex<T>

impl<T: Clone + Num> Add<Complex<T>> for Complex<T>

impl<T: Clone + Num> Add<T> for Complex<T>

impl<'a, T: Clone + Num> Add<&'a T> for Complex<T>

impl<'a, T: Clone + Num> Add<T> for &'a Complex<T>

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

impl<'a> Add<&'a Complex<usize>> for usize

impl<'a> Add<Complex<usize>> for &'a usize

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

impl<'a> Add<&'a Complex<u8>> for u8

impl<'a> Add<Complex<u8>> for &'a u8

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

impl<'a> Add<&'a Complex<u16>> for u16

impl<'a> Add<Complex<u16>> for &'a u16

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

impl<'a> Add<&'a Complex<u32>> for u32

impl<'a> Add<Complex<u32>> for &'a u32

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

impl<'a> Add<&'a Complex<u64>> for u64

impl<'a> Add<Complex<u64>> for &'a u64

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

impl<'a> Add<&'a Complex<u128>> for u128

impl<'a> Add<Complex<u128>> for &'a u128

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

impl<'a> Add<&'a Complex<isize>> for isize

impl<'a> Add<Complex<isize>> for &'a isize

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

impl<'a> Add<&'a Complex<i8>> for i8

impl<'a> Add<Complex<i8>> for &'a i8

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

impl<'a> Add<&'a Complex<i16>> for i16

impl<'a> Add<Complex<i16>> for &'a i16

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

impl<'a> Add<&'a Complex<i32>> for i32

impl<'a> Add<Complex<i32>> for &'a i32

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

impl<'a> Add<&'a Complex<i64>> for i64

impl<'a> Add<Complex<i64>> for &'a i64

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

impl<'a> Add<&'a Complex<i128>> for i128

impl<'a> Add<Complex<i128>> for &'a i128

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

impl<'a> Add<&'a Complex<f32>> for f32

impl<'a> Add<Complex<f32>> for &'a f32

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

impl<'a> Add<&'a Complex<f64>> for f64

impl<'a> Add<Complex<f64>> for &'a f64

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

impl Add<Complex<usize>> for usize

impl Add<Complex<u8>> for u8

impl Add<Complex<u16>> for u16

impl Add<Complex<u32>> for u32

impl Add<Complex<u64>> for u64

impl Add<Complex<u128>> for u128

impl Add<Complex<isize>> for isize

impl Add<Complex<i8>> for i8

impl Add<Complex<i16>> for i16

impl Add<Complex<i32>> for i32

impl Add<Complex<i64>> for i64

impl Add<Complex<i128>> for i128

impl Add<Complex<f32>> for f32

impl Add<Complex<f64>> for f64

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

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

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

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

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

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

impl<T: Clone + Integer> Add<Ratio<T>> for Ratio<T>

impl<T: Clone + Integer> Add<T> for Ratio<T>

impl<'a, Rhs> Add<Rhs> for &'a U128 where
    Rhs: Into<U128>, 

impl<Rhs> Add<Rhs> for U128 where
    Rhs: Into<U128>, 

impl<'a, 'b> Add<&'b U128> for &'a U128

impl<'a> Add<&'a U128> for U128

impl<'a, Rhs> Add<Rhs> for &'a U160 where
    Rhs: Into<U160>, 

impl<Rhs> Add<Rhs> for U160 where
    Rhs: Into<U160>, 

impl<'a, 'b> Add<&'b U160> for &'a U160

impl<'a> Add<&'a U160> for U160

impl<'a, Rhs> Add<Rhs> for &'a U224 where
    Rhs: Into<U224>, 

impl<Rhs> Add<Rhs> for U224 where
    Rhs: Into<U224>, 

impl<'a, 'b> Add<&'b U224> for &'a U224

impl<'a> Add<&'a U224> for U224

impl<'a, Rhs> Add<Rhs> for &'a U256 where
    Rhs: Into<U256>, 

impl<Rhs> Add<Rhs> for U256 where
    Rhs: Into<U256>, 

impl<'a, 'b> Add<&'b U256> for &'a U256

impl<'a> Add<&'a U256> for U256

impl<'a, Rhs> Add<Rhs> for &'a U384 where
    Rhs: Into<U384>, 

impl<Rhs> Add<Rhs> for U384 where
    Rhs: Into<U384>, 

impl<'a, 'b> Add<&'b U384> for &'a U384

impl<'a> Add<&'a U384> for U384

impl<'a, Rhs> Add<Rhs> for &'a U512 where
    Rhs: Into<U512>, 

impl<Rhs> Add<Rhs> for U512 where
    Rhs: Into<U512>, 

impl<'a, 'b> Add<&'b U512> for &'a U512

impl<'a> Add<&'a U512> for U512

impl<'a, Rhs> Add<Rhs> for &'a U520 where
    Rhs: Into<U520>, 

impl<Rhs> Add<Rhs> for U520 where
    Rhs: Into<U520>, 

impl<'a, 'b> Add<&'b U520> for &'a U520

impl<'a> Add<&'a U520> for U520

impl<'a, Rhs> Add<Rhs> for &'a U1024 where
    Rhs: Into<U1024>, 

impl<Rhs> Add<Rhs> for U1024 where
    Rhs: Into<U1024>, 

impl<'a, 'b> Add<&'b U1024> for &'a U1024

impl<'a> Add<&'a U1024> for U1024

impl<'a, Rhs> Add<Rhs> for &'a U2048 where
    Rhs: Into<U2048>, 

impl<Rhs> Add<Rhs> for U2048 where
    Rhs: Into<U2048>, 

impl<'a, 'b> Add<&'b U2048> for &'a U2048

impl<'a> Add<&'a U2048> for U2048

impl<'a, Rhs> Add<Rhs> for &'a U4096 where
    Rhs: Into<U4096>, 

impl<Rhs> Add<Rhs> for U4096 where
    Rhs: Into<U4096>, 

impl<'a, 'b> Add<&'b U4096> for &'a U4096

impl<'a> Add<&'a U4096> for U4096

impl<'a, T: Add + Clone> Add<Property<'a, T>> for Property<'a, T> where
    <T as Add>::Output: Clone

impl<'a, T: Add + Clone> Add<T> for Property<'a, T> where
    <T as Add>::Output: Clone

impl<'a, T: Add + Clone> Add<PropertyLastValue<'a, T>> for PropertyLastValue<'a, T> where
    <T as Add>::Output: Clone

impl<'a, T: Add + Clone> Add<T> for PropertyLastValue<'a, T> where
    <T as Add>::Output: Clone

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

impl Add<Duration> for Duration

impl Add<Duration> for Timespec

impl Add<Duration> for SteadyTime

impl Add<Duration> for Tm

impl<I: Integer> Add<I> for Z0

impl<U: Unsigned + NonZero> Add<Z0> for PInt<U>

impl<U: Unsigned + NonZero> Add<Z0> for NInt<U>

impl<Ul: Unsigned + NonZero, Ur: Unsigned + NonZero> Add<PInt<Ur>> for PInt<Ul> where
    Ul: Add<Ur>,
    <Ul as Add<Ur>>::Output: Unsigned + NonZero

impl<Ul: Unsigned + NonZero, Ur: Unsigned + NonZero> Add<NInt<Ur>> for NInt<Ul> where
    Ul: Add<Ur>,
    <Ul as Add<Ur>>::Output: Unsigned + NonZero

impl<Ul: Unsigned + NonZero, Ur: Unsigned + NonZero> Add<NInt<Ur>> for PInt<Ul> where
    Ul: Cmp<Ur> + PrivateIntegerAdd<<Ul as Cmp<Ur>>::Output, Ur>, 

impl<Ul: Unsigned + NonZero, Ur: Unsigned + NonZero> Add<PInt<Ur>> for NInt<Ul> where
    Ur: Cmp<Ul> + PrivateIntegerAdd<<Ur as Cmp<Ul>>::Output, Ul>, 

impl Add<B0> for UTerm

impl<U: Unsigned, B: Bit> Add<B0> for UInt<U, B>

impl Add<B1> for UTerm

impl<U: Unsigned> Add<B1> for UInt<U, B0>

impl<U: Unsigned> Add<B1> for UInt<U, B1> where
    U: Add<B1>,
    Add1<U>: Unsigned

impl<U: Unsigned> Add<U> for UTerm

impl<U: Unsigned, B: Bit> Add<UTerm> for UInt<U, B>

impl<Ul: Unsigned, Ur: Unsigned> Add<UInt<Ur, B0>> for UInt<Ul, B0> where
    Ul: Add<Ur>, 

impl<Ul: Unsigned, Ur: Unsigned> Add<UInt<Ur, B1>> for UInt<Ul, B0> where
    Ul: Add<Ur>, 

impl<Ul: Unsigned, Ur: Unsigned> Add<UInt<Ur, B0>> for UInt<Ul, B1> where
    Ul: Add<Ur>, 

impl<Ul: Unsigned, Ur: Unsigned> Add<UInt<Ur, B1>> for UInt<Ul, B1> where
    Ul: Add<Ur>,
    Sum<Ul, Ur>: Add<B1>, 

impl Add<ATerm> for ATerm

impl<Al, Vl, Ar, Vr> Add<TArr<Vr, Ar>> for TArr<Vl, Al> where
    Al: Add<Ar>,
    Vl: Add<Vr>,