devela::all

Trait Add

1.0.0 · Source
pub trait Add<Rhs = Self> {
    type Output;

    // Required method
    fn add(self, rhs: Rhs) -> Self::Output;
}
Expand description

core The addition operator +.

Re-exported from core::ops:: .


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 });

Required Associated Types§

1.0.0 · Source

type Output

The resulting type after applying the + operator.

Required Methods§

1.0.0 · Source

fn add(self, rhs: Rhs) -> Self::Output

Performs the + operation.

§Example
assert_eq!(12 + 1, 13);

Implementors§

Source§

impl Add for &JsValue

1.0.0 · Source§

impl Add for f16

1.0.0 · Source§

impl Add for f32

1.0.0 · Source§

impl Add for f64

1.0.0 · Source§

impl Add for f128

1.0.0 · Source§

impl Add for i8

1.0.0 · Source§

impl Add for i16

1.0.0 · Source§

impl Add for i32

1.0.0 · Source§

impl Add for i64

1.0.0 · Source§

impl Add for i128

1.0.0 · Source§

impl Add for isize

1.0.0 · Source§

impl Add for u8

1.0.0 · Source§

impl Add for u16

1.0.0 · Source§

impl Add for u32

1.0.0 · Source§

impl Add for u64

1.0.0 · Source§

impl Add for u128

1.0.0 · Source§

impl Add for usize

Source§

impl Add for Assume

§

impl Add for SignedDuration

Source§

impl Add for BigInt

Source§

type Output = <&'static BigInt as Add>::Output

Source§

impl Add for Number

Source§

type Output = <&'static Number as Add>::Output

§

impl Add for Decibels

§

impl Add for Frame

§

impl Add for Mix

§

type Output = Mix

§

impl Add for Panning

§

impl Add for PlaybackRate

§

impl Add for Semitones

§

impl Add for f32_be

§

type Output = f32

§

impl Add for f32_le

§

type Output = f32

§

impl Add for f64_be

§

type Output = f64

§

impl Add for f64_le

§

type Output = f64

§

impl Add for i16_be

§

type Output = i16

§

impl Add for i16_le

§

type Output = i16

§

impl Add for i32_be

§

type Output = i32

§

impl Add for i32_le

§

type Output = i32

§

impl Add for i64_be

§

type Output = i64

§

impl Add for i64_le

§

type Output = i64

§

impl Add for i128_be

§

type Output = i128

§

impl Add for i128_le

§

type Output = i128

§

impl Add for u16_be

§

type Output = u16

§

impl Add for u16_le

§

type Output = u16

§

impl Add for u32_be

§

type Output = u32

§

impl Add for u32_le

§

type Output = u32

§

impl Add for u64_be

§

type Output = u64

§

impl Add for u64_le

§

type Output = u64

§

impl Add for u128_be

§

type Output = u128

§

impl Add for u128_le

§

type Output = u128

§

impl Add for f32_ube

§

type Output = f32

§

impl Add for f32_ule

§

type Output = f32

§

impl Add for f64_ube

§

type Output = f64

§

impl Add for f64_ule

§

type Output = f64

§

impl Add for i16_ube

§

type Output = i16

§

impl Add for i16_ule

§

type Output = i16

§

impl Add for i32_ube

§

type Output = i32

§

impl Add for i32_ule

§

type Output = i32

§

impl Add for i64_ube

§

type Output = i64

§

impl Add for i64_ule

§

type Output = i64

§

impl Add for i128_ube

§

type Output = i128

§

impl Add for i128_ule

§

type Output = i128

§

impl Add for u16_ube

§

type Output = u16

§

impl Add for u16_ule

§

type Output = u16

§

impl Add for u32_ube

§

type Output = u32

§

impl Add for u32_ule

§

type Output = u32

§

impl Add for u64_ube

§

type Output = u64

§

impl Add for u64_ule

§

type Output = u64

§

impl Add for u128_ube

§

type Output = u128

§

impl Add for u128_ule

§

type Output = u128

§

impl Add for I24

§

type Output = I24

§

impl Add for I48

§

type Output = I48

§

impl Add for U24

§

type Output = U24

§

impl Add for U48

§

type Output = U48

§

impl Add for Complex

§

impl Add for i24

§

type Output = i24

§

impl Add for u24

§

type Output = u24

Source§

impl Add for JsValue

Source§

type Output = <&'static JsValue as Add>::Output

§

impl Add for f32x4

§

impl Add for f32x8

§

impl Add for f64x2

§

impl Add for f64x4

§

impl Add for i8x16

§

impl Add for i8x32

§

impl Add for i16x8

§

impl Add for i16x16

§

impl Add for i32x4

§

impl Add for i32x8

§

impl Add for i64x2

§

impl Add for i64x4

§

impl Add for u8x16

§

impl Add for u16x8

§

impl Add for u16x16

§

impl Add for u32x4

§

impl Add for u32x8

§

impl Add for u64x2

§

impl Add for u64x4

Source§

impl Add for Float<f32>

Available on crate feature _float_f32 only.
Source§

impl Add for Float<f64>

Available on crate feature _float_f64 only.
Source§

impl Add for Int<i8>

Available on crate feature _int_i8 only.
Source§

impl Add for Int<i16>

Available on crate feature _int_i16 only.
Source§

impl Add for Int<i32>

Available on crate feature _int_i32 only.
Source§

impl Add for Int<i64>

Available on crate feature _int_i64 only.
Source§

impl Add for Int<i128>

Available on crate feature _int_i128 only.
Source§

impl Add for Int<isize>

Available on crate feature _int_isize only.
Source§

impl Add for Int<u8>

Available on crate feature _int_i8 only.
Source§

impl Add for Int<u16>

Available on crate feature _int_u16 only.
Source§

impl Add for Int<u32>

Available on crate feature _int_u32 only.
Source§

impl Add for Int<u64>

Available on crate feature _int_u64 only.
Source§

impl Add for Int<u128>

Available on crate feature _int_u128 only.
Source§

impl Add for Int<usize>

Available on crate feature _int_usize only.
1.3.0 · Source§

impl Add for Duration

Source§

impl Add for Mat3

Source§

impl Add for Mat2

Source§

impl Add for Mat3A

Source§

impl Add for Mat4

Source§

impl Add for Quat

Source§

impl Add for Vec3A

Source§

impl Add for Vec4

Source§

impl Add for Vec2

Source§

impl Add for Vec3

Source§

impl Add for DMat2

Source§

impl Add for DMat3

Source§

impl Add for DMat4

Source§

impl Add for DQuat

Source§

impl Add for DVec2

Source§

impl Add for DVec3

Source§

impl Add for DVec4

Source§

impl Add for I8Vec2

Source§

impl Add for I8Vec3

Source§

impl Add for I8Vec4

Source§

impl Add for I16Vec2

Source§

impl Add for I16Vec3

Source§

impl Add for I16Vec4

Source§

impl Add for IVec2

Source§

impl Add for IVec3

Source§

impl Add for IVec4

Source§

impl Add for I64Vec2

Source§

impl Add for I64Vec3

Source§

impl Add for I64Vec4

Source§

impl Add for U8Vec2

Source§

impl Add for U8Vec3

Source§

impl Add for U8Vec4

Source§

impl Add for U16Vec2

Source§

impl Add for U16Vec3

Source§

impl Add for U16Vec4

Source§

impl Add for UVec2

Source§

impl Add for UVec3

Source§

impl Add for UVec4

Source§

impl Add for U64Vec2

Source§

impl Add for U64Vec3

Source§

impl Add for U64Vec4

1.74.0 · Source§

impl Add for Saturating<i8>

1.74.0 · Source§

impl Add for Saturating<i16>

1.74.0 · Source§

impl Add for Saturating<i32>

1.74.0 · Source§

impl Add for Saturating<i64>

1.74.0 · Source§

impl Add for Saturating<i128>

1.74.0 · Source§

impl Add for Saturating<isize>

1.74.0 · Source§

impl Add for Saturating<u8>

1.74.0 · Source§

impl Add for Saturating<u16>

1.74.0 · Source§

impl Add for Saturating<u32>

1.74.0 · Source§

impl Add for Saturating<u64>

1.74.0 · Source§

impl Add for Saturating<u128>

1.74.0 · Source§

impl Add for Saturating<usize>

1.0.0 · Source§

impl Add for Wrapping<i8>

1.0.0 · Source§

impl Add for Wrapping<i16>

1.0.0 · Source§

impl Add for Wrapping<i32>

1.0.0 · Source§

impl Add for Wrapping<i64>

1.0.0 · Source§

impl Add for Wrapping<i128>

1.0.0 · Source§

impl Add for Wrapping<isize>

1.0.0 · Source§

impl Add for Wrapping<u8>

1.0.0 · Source§

impl Add for Wrapping<u16>

1.0.0 · Source§

impl Add for Wrapping<u32>

1.0.0 · Source§

impl Add for Wrapping<u64>

1.0.0 · Source§

impl Add for Wrapping<u128>

1.0.0 · Source§

impl Add for Wrapping<usize>

§

impl Add for m128

§

type Output = m128

§

impl Add for m128d

§

impl Add for I11

§

type Output = I11

§

impl Add for I20

§

type Output = I20

§

impl Add for MilliBel

§

type Output = MilliBel

§

impl Add for U11

§

type Output = U11

§

impl Add for U20

§

type Output = U20

1.0.0 · Source§

impl Add<&f16> for &f16

1.0.0 · Source§

impl Add<&f16> for f16

1.0.0 · Source§

impl Add<&f32> for &f32

§

impl Add<&f32> for &f32_be

§

type Output = f32

§

impl Add<&f32> for &f32_le

§

type Output = f32

§

impl Add<&f32> for &f32_ube

§

type Output = f32

§

impl Add<&f32> for &f32_ule

§

type Output = f32

Source§

impl Add<&f32> for &Vec3A

Source§

impl Add<&f32> for &Vec4

Source§

impl Add<&f32> for &Vec2

Source§

impl Add<&f32> for &Vec3

1.0.0 · Source§

impl Add<&f32> for f32

§

impl Add<&f32> for f32_be

§

type Output = f32

§

impl Add<&f32> for f32_le

§

type Output = f32

§

impl Add<&f32> for f32_ube

§

type Output = f32

§

impl Add<&f32> for f32_ule

§

type Output = f32

Source§

impl Add<&f32> for Vec3A

Source§

impl Add<&f32> for Vec4

Source§

impl Add<&f32> for Vec2

Source§

impl Add<&f32> for Vec3

1.0.0 · Source§

impl Add<&f64> for &f64

§

impl Add<&f64> for &f64_be

§

type Output = f64

§

impl Add<&f64> for &f64_le

§

type Output = f64

§

impl Add<&f64> for &f64_ube

§

type Output = f64

§

impl Add<&f64> for &f64_ule

§

type Output = f64

Source§

impl Add<&f64> for &DVec2

Source§

impl Add<&f64> for &DVec3

Source§

impl Add<&f64> for &DVec4

1.0.0 · Source§

impl Add<&f64> for f64

§

impl Add<&f64> for f64_be

§

type Output = f64

§

impl Add<&f64> for f64_le

§

type Output = f64

§

impl Add<&f64> for f64_ube

§

type Output = f64

§

impl Add<&f64> for f64_ule

§

type Output = f64

Source§

impl Add<&f64> for DVec2

Source§

impl Add<&f64> for DVec3

Source§

impl Add<&f64> for DVec4

1.0.0 · Source§

impl Add<&f128> for &f128

1.0.0 · Source§

impl Add<&f128> for f128

1.0.0 · Source§

impl Add<&i8> for &i8

Source§

impl Add<&i8> for &I8Vec2

Source§

impl Add<&i8> for &I8Vec3

Source§

impl Add<&i8> for &I8Vec4

1.0.0 · Source§

impl Add<&i8> for i8

Source§

impl Add<&i8> for I8Vec2

Source§

impl Add<&i8> for I8Vec3

Source§

impl Add<&i8> for I8Vec4

1.0.0 · Source§

impl Add<&i16> for &i16

§

impl Add<&i16> for &i16_be

§

type Output = i16

§

impl Add<&i16> for &i16_le

§

type Output = i16

§

impl Add<&i16> for &i16_ube

§

type Output = i16

§

impl Add<&i16> for &i16_ule

§

type Output = i16

Source§

impl Add<&i16> for &I16Vec2

Source§

impl Add<&i16> for &I16Vec3

Source§

impl Add<&i16> for &I16Vec4

1.0.0 · Source§

impl Add<&i16> for i16

§

impl Add<&i16> for i16_be

§

type Output = i16

§

impl Add<&i16> for i16_le

§

type Output = i16

§

impl Add<&i16> for i16_ube

§

type Output = i16

§

impl Add<&i16> for i16_ule

§

type Output = i16

Source§

impl Add<&i16> for I16Vec2

Source§

impl Add<&i16> for I16Vec3

Source§

impl Add<&i16> for I16Vec4

1.0.0 · Source§

impl Add<&i32> for &i32

§

impl Add<&i32> for &i32_be

§

type Output = i32

§

impl Add<&i32> for &i32_le

§

type Output = i32

§

impl Add<&i32> for &i32_ube

§

type Output = i32

§

impl Add<&i32> for &i32_ule

§

type Output = i32

Source§

impl Add<&i32> for &IVec2

Source§

impl Add<&i32> for &IVec3

Source§

impl Add<&i32> for &IVec4

1.0.0 · Source§

impl Add<&i32> for i32

§

impl Add<&i32> for i32_be

§

type Output = i32

§

impl Add<&i32> for i32_le

§

type Output = i32

§

impl Add<&i32> for i32_ube

§

type Output = i32

§

impl Add<&i32> for i32_ule

§

type Output = i32

Source§

impl Add<&i32> for IVec2

Source§

impl Add<&i32> for IVec3

Source§

impl Add<&i32> for IVec4

1.0.0 · Source§

impl Add<&i64> for &i64

§

impl Add<&i64> for &i64_be

§

type Output = i64

§

impl Add<&i64> for &i64_le

§

type Output = i64

§

impl Add<&i64> for &i64_ube

§

type Output = i64

§

impl Add<&i64> for &i64_ule

§

type Output = i64

Source§

impl Add<&i64> for &I64Vec2

Source§

impl Add<&i64> for &I64Vec3

Source§

impl Add<&i64> for &I64Vec4

1.0.0 · Source§

impl Add<&i64> for i64

§

impl Add<&i64> for i64_be

§

type Output = i64

§

impl Add<&i64> for i64_le

§

type Output = i64

§

impl Add<&i64> for i64_ube

§

type Output = i64

§

impl Add<&i64> for i64_ule

§

type Output = i64

Source§

impl Add<&i64> for I64Vec2

Source§

impl Add<&i64> for I64Vec3

Source§

impl Add<&i64> for I64Vec4

1.0.0 · Source§

impl Add<&i128> for &i128

§

impl Add<&i128> for &i128_be

§

type Output = i128

§

impl Add<&i128> for &i128_le

§

type Output = i128

§

impl Add<&i128> for &i128_ube

§

type Output = i128

§

impl Add<&i128> for &i128_ule

§

type Output = i128

1.0.0 · Source§

impl Add<&i128> for i128

§

impl Add<&i128> for i128_be

§

type Output = i128

§

impl Add<&i128> for i128_le

§

type Output = i128

§

impl Add<&i128> for i128_ube

§

type Output = i128

§

impl Add<&i128> for i128_ule

§

type Output = i128

1.0.0 · Source§

impl Add<&isize> for &isize

1.0.0 · Source§

impl Add<&isize> for isize

1.0.0 · Source§

impl Add<&str> for devela::all::String

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;
1.0.0 · Source§

impl Add<&u8> for &u8

Source§

impl Add<&u8> for &U8Vec2

Source§

impl Add<&u8> for &U8Vec3

Source§

impl Add<&u8> for &U8Vec4

1.0.0 · Source§

impl Add<&u8> for u8

Source§

impl Add<&u8> for U8Vec2

Source§

impl Add<&u8> for U8Vec3

Source§

impl Add<&u8> for U8Vec4

1.0.0 · Source§

impl Add<&u16> for &u16

§

impl Add<&u16> for &u16_be

§

type Output = u16

§

impl Add<&u16> for &u16_le

§

type Output = u16

§

impl Add<&u16> for &u16_ube

§

type Output = u16

§

impl Add<&u16> for &u16_ule

§

type Output = u16

Source§

impl Add<&u16> for &U16Vec2

Source§

impl Add<&u16> for &U16Vec3

Source§

impl Add<&u16> for &U16Vec4

1.0.0 · Source§

impl Add<&u16> for u16

§

impl Add<&u16> for u16_be

§

type Output = u16

§

impl Add<&u16> for u16_le

§

type Output = u16

§

impl Add<&u16> for u16_ube

§

type Output = u16

§

impl Add<&u16> for u16_ule

§

type Output = u16

Source§

impl Add<&u16> for U16Vec2

Source§

impl Add<&u16> for U16Vec3

Source§

impl Add<&u16> for U16Vec4

1.0.0 · Source§

impl Add<&u32> for &u32

§

impl Add<&u32> for &u32_be

§

type Output = u32

§

impl Add<&u32> for &u32_le

§

type Output = u32

§

impl Add<&u32> for &u32_ube

§

type Output = u32

§

impl Add<&u32> for &u32_ule

§

type Output = u32

Source§

impl Add<&u32> for &UVec2

Source§

impl Add<&u32> for &UVec3

Source§

impl Add<&u32> for &UVec4

1.0.0 · Source§

impl Add<&u32> for u32

§

impl Add<&u32> for u32_be

§

type Output = u32

§

impl Add<&u32> for u32_le

§

type Output = u32

§

impl Add<&u32> for u32_ube

§

type Output = u32

§

impl Add<&u32> for u32_ule

§

type Output = u32

Source§

impl Add<&u32> for UVec2

Source§

impl Add<&u32> for UVec3

Source§

impl Add<&u32> for UVec4

1.0.0 · Source§

impl Add<&u64> for &u64

§

impl Add<&u64> for &u64_be

§

type Output = u64

§

impl Add<&u64> for &u64_le

§

type Output = u64

§

impl Add<&u64> for &u64_ube

§

type Output = u64

§

impl Add<&u64> for &u64_ule

§

type Output = u64

Source§

impl Add<&u64> for &U64Vec2

Source§

impl Add<&u64> for &U64Vec3

Source§

impl Add<&u64> for &U64Vec4

1.0.0 · Source§

impl Add<&u64> for u64

§

impl Add<&u64> for u64_be

§

type Output = u64

§

impl Add<&u64> for u64_le

§

type Output = u64

§

impl Add<&u64> for u64_ube

§

type Output = u64

§

impl Add<&u64> for u64_ule

§

type Output = u64

Source§

impl Add<&u64> for U64Vec2

Source§

impl Add<&u64> for U64Vec3

Source§

impl Add<&u64> for U64Vec4

1.0.0 · Source§

impl Add<&u128> for &u128

§

impl Add<&u128> for &u128_be

§

type Output = u128

§

impl Add<&u128> for &u128_le

§

type Output = u128

§

impl Add<&u128> for &u128_ube

§

type Output = u128

§

impl Add<&u128> for &u128_ule

§

type Output = u128

1.0.0 · Source§

impl Add<&u128> for u128

§

impl Add<&u128> for u128_be

§

type Output = u128

§

impl Add<&u128> for u128_le

§

type Output = u128

§

impl Add<&u128> for u128_ube

§

type Output = u128

§

impl Add<&u128> for u128_ule

§

type Output = u128

1.0.0 · Source§

impl Add<&usize> for &usize

1.0.0 · Source§

impl Add<&usize> for usize

Source§

impl Add<&BigInt> for &BigInt

Source§

impl Add<&BigInt> for BigInt

Source§

type Output = <&'static BigInt as Add>::Output

Source§

impl Add<&Number> for &Number

Source§

impl Add<&Number> for Number

Source§

type Output = <&'static Number as Add>::Output

§

impl Add<&f32_be> for &f32

§

type Output = f32

§

impl Add<&f32_be> for &f32_be

§

type Output = f32

§

impl Add<&f32_be> for f32

§

type Output = f32

§

impl Add<&f32_be> for f32_be

§

type Output = f32

§

impl Add<&f32_le> for &f32

§

type Output = f32

§

impl Add<&f32_le> for &f32_le

§

type Output = f32

§

impl Add<&f32_le> for f32

§

type Output = f32

§

impl Add<&f32_le> for f32_le

§

type Output = f32

§

impl Add<&f64_be> for &f64

§

type Output = f64

§

impl Add<&f64_be> for &f64_be

§

type Output = f64

§

impl Add<&f64_be> for f64

§

type Output = f64

§

impl Add<&f64_be> for f64_be

§

type Output = f64

§

impl Add<&f64_le> for &f64

§

type Output = f64

§

impl Add<&f64_le> for &f64_le

§

type Output = f64

§

impl Add<&f64_le> for f64

§

type Output = f64

§

impl Add<&f64_le> for f64_le

§

type Output = f64

§

impl Add<&i16_be> for &i16

§

type Output = i16

§

impl Add<&i16_be> for &i16_be

§

type Output = i16

§

impl Add<&i16_be> for i16

§

type Output = i16

§

impl Add<&i16_be> for i16_be

§

type Output = i16

§

impl Add<&i16_le> for &i16

§

type Output = i16

§

impl Add<&i16_le> for &i16_le

§

type Output = i16

§

impl Add<&i16_le> for i16

§

type Output = i16

§

impl Add<&i16_le> for i16_le

§

type Output = i16

§

impl Add<&i32_be> for &i32

§

type Output = i32

§

impl Add<&i32_be> for &i32_be

§

type Output = i32

§

impl Add<&i32_be> for i32

§

type Output = i32

§

impl Add<&i32_be> for i32_be

§

type Output = i32

§

impl Add<&i32_le> for &i32

§

type Output = i32

§

impl Add<&i32_le> for &i32_le

§

type Output = i32

§

impl Add<&i32_le> for i32

§

type Output = i32

§

impl Add<&i32_le> for i32_le

§

type Output = i32

§

impl Add<&i64_be> for &i64

§

type Output = i64

§

impl Add<&i64_be> for &i64_be

§

type Output = i64

§

impl Add<&i64_be> for i64

§

type Output = i64

§

impl Add<&i64_be> for i64_be

§

type Output = i64

§

impl Add<&i64_le> for &i64

§

type Output = i64

§

impl Add<&i64_le> for &i64_le

§

type Output = i64

§

impl Add<&i64_le> for i64

§

type Output = i64

§

impl Add<&i64_le> for i64_le

§

type Output = i64

§

impl Add<&i128_be> for &i128

§

type Output = i128

§

impl Add<&i128_be> for &i128_be

§

type Output = i128

§

impl Add<&i128_be> for i128

§

type Output = i128

§

impl Add<&i128_be> for i128_be

§

type Output = i128

§

impl Add<&i128_le> for &i128

§

type Output = i128

§

impl Add<&i128_le> for &i128_le

§

type Output = i128

§

impl Add<&i128_le> for i128

§

type Output = i128

§

impl Add<&i128_le> for i128_le

§

type Output = i128

§

impl Add<&u16_be> for &u16

§

type Output = u16

§

impl Add<&u16_be> for &u16_be

§

type Output = u16

§

impl Add<&u16_be> for u16

§

type Output = u16

§

impl Add<&u16_be> for u16_be

§

type Output = u16

§

impl Add<&u16_le> for &u16

§

type Output = u16

§

impl Add<&u16_le> for &u16_le

§

type Output = u16

§

impl Add<&u16_le> for u16

§

type Output = u16

§

impl Add<&u16_le> for u16_le

§

type Output = u16

§

impl Add<&u32_be> for &u32

§

type Output = u32

§

impl Add<&u32_be> for &u32_be

§

type Output = u32

§

impl Add<&u32_be> for u32

§

type Output = u32

§

impl Add<&u32_be> for u32_be

§

type Output = u32

§

impl Add<&u32_le> for &u32

§

type Output = u32

§

impl Add<&u32_le> for &u32_le

§

type Output = u32

§

impl Add<&u32_le> for u32

§

type Output = u32

§

impl Add<&u32_le> for u32_le

§

type Output = u32

§

impl Add<&u64_be> for &u64

§

type Output = u64

§

impl Add<&u64_be> for &u64_be

§

type Output = u64

§

impl Add<&u64_be> for u64

§

type Output = u64

§

impl Add<&u64_be> for u64_be

§

type Output = u64

§

impl Add<&u64_le> for &u64

§

type Output = u64

§

impl Add<&u64_le> for &u64_le

§

type Output = u64

§

impl Add<&u64_le> for u64

§

type Output = u64

§

impl Add<&u64_le> for u64_le

§

type Output = u64

§

impl Add<&u128_be> for &u128

§

type Output = u128

§

impl Add<&u128_be> for &u128_be

§

type Output = u128

§

impl Add<&u128_be> for u128

§

type Output = u128

§

impl Add<&u128_be> for u128_be

§

type Output = u128

§

impl Add<&u128_le> for &u128

§

type Output = u128

§

impl Add<&u128_le> for &u128_le

§

type Output = u128

§

impl Add<&u128_le> for u128

§

type Output = u128

§

impl Add<&u128_le> for u128_le

§

type Output = u128

§

impl Add<&f32_ube> for &f32

§

type Output = f32

§

impl Add<&f32_ube> for &f32_ube

§

type Output = f32

§

impl Add<&f32_ube> for f32

§

type Output = f32

§

impl Add<&f32_ube> for f32_ube

§

type Output = f32

§

impl Add<&f32_ule> for &f32

§

type Output = f32

§

impl Add<&f32_ule> for &f32_ule

§

type Output = f32

§

impl Add<&f32_ule> for f32

§

type Output = f32

§

impl Add<&f32_ule> for f32_ule

§

type Output = f32

§

impl Add<&f64_ube> for &f64

§

type Output = f64

§

impl Add<&f64_ube> for &f64_ube

§

type Output = f64

§

impl Add<&f64_ube> for f64

§

type Output = f64

§

impl Add<&f64_ube> for f64_ube

§

type Output = f64

§

impl Add<&f64_ule> for &f64

§

type Output = f64

§

impl Add<&f64_ule> for &f64_ule

§

type Output = f64

§

impl Add<&f64_ule> for f64

§

type Output = f64

§

impl Add<&f64_ule> for f64_ule

§

type Output = f64

§

impl Add<&i16_ube> for &i16

§

type Output = i16

§

impl Add<&i16_ube> for &i16_ube

§

type Output = i16

§

impl Add<&i16_ube> for i16

§

type Output = i16

§

impl Add<&i16_ube> for i16_ube

§

type Output = i16

§

impl Add<&i16_ule> for &i16

§

type Output = i16

§

impl Add<&i16_ule> for &i16_ule

§

type Output = i16

§

impl Add<&i16_ule> for i16

§

type Output = i16

§

impl Add<&i16_ule> for i16_ule

§

type Output = i16

§

impl Add<&i32_ube> for &i32

§

type Output = i32

§

impl Add<&i32_ube> for &i32_ube

§

type Output = i32

§

impl Add<&i32_ube> for i32

§

type Output = i32

§

impl Add<&i32_ube> for i32_ube

§

type Output = i32

§

impl Add<&i32_ule> for &i32

§

type Output = i32

§

impl Add<&i32_ule> for &i32_ule

§

type Output = i32

§

impl Add<&i32_ule> for i32

§

type Output = i32

§

impl Add<&i32_ule> for i32_ule

§

type Output = i32

§

impl Add<&i64_ube> for &i64

§

type Output = i64

§

impl Add<&i64_ube> for &i64_ube

§

type Output = i64

§

impl Add<&i64_ube> for i64

§

type Output = i64

§

impl Add<&i64_ube> for i64_ube

§

type Output = i64

§

impl Add<&i64_ule> for &i64

§

type Output = i64

§

impl Add<&i64_ule> for &i64_ule

§

type Output = i64

§

impl Add<&i64_ule> for i64

§

type Output = i64

§

impl Add<&i64_ule> for i64_ule

§

type Output = i64

§

impl Add<&i128_ube> for &i128

§

type Output = i128

§

impl Add<&i128_ube> for &i128_ube

§

type Output = i128

§

impl Add<&i128_ube> for i128

§

type Output = i128

§

impl Add<&i128_ube> for i128_ube

§

type Output = i128

§

impl Add<&i128_ule> for &i128

§

type Output = i128

§

impl Add<&i128_ule> for &i128_ule

§

type Output = i128

§

impl Add<&i128_ule> for i128

§

type Output = i128

§

impl Add<&i128_ule> for i128_ule

§

type Output = i128

§

impl Add<&u16_ube> for &u16

§

type Output = u16

§

impl Add<&u16_ube> for &u16_ube

§

type Output = u16

§

impl Add<&u16_ube> for u16

§

type Output = u16

§

impl Add<&u16_ube> for u16_ube

§

type Output = u16

§

impl Add<&u16_ule> for &u16

§

type Output = u16

§

impl Add<&u16_ule> for &u16_ule

§

type Output = u16

§

impl Add<&u16_ule> for u16

§

type Output = u16

§

impl Add<&u16_ule> for u16_ule

§

type Output = u16

§

impl Add<&u32_ube> for &u32

§

type Output = u32

§

impl Add<&u32_ube> for &u32_ube

§

type Output = u32

§

impl Add<&u32_ube> for u32

§

type Output = u32

§

impl Add<&u32_ube> for u32_ube

§

type Output = u32

§

impl Add<&u32_ule> for &u32

§

type Output = u32

§

impl Add<&u32_ule> for &u32_ule

§

type Output = u32

§

impl Add<&u32_ule> for u32

§

type Output = u32

§

impl Add<&u32_ule> for u32_ule

§

type Output = u32

§

impl Add<&u64_ube> for &u64

§

type Output = u64

§

impl Add<&u64_ube> for &u64_ube

§

type Output = u64

§

impl Add<&u64_ube> for u64

§

type Output = u64

§

impl Add<&u64_ube> for u64_ube

§

type Output = u64

§

impl Add<&u64_ule> for &u64

§

type Output = u64

§

impl Add<&u64_ule> for &u64_ule

§

type Output = u64

§

impl Add<&u64_ule> for u64

§

type Output = u64

§

impl Add<&u64_ule> for u64_ule

§

type Output = u64

§

impl Add<&u128_ube> for &u128

§

type Output = u128

§

impl Add<&u128_ube> for &u128_ube

§

type Output = u128

§

impl Add<&u128_ube> for u128

§

type Output = u128

§

impl Add<&u128_ube> for u128_ube

§

type Output = u128

§

impl Add<&u128_ule> for &u128

§

type Output = u128

§

impl Add<&u128_ule> for &u128_ule

§

type Output = u128

§

impl Add<&u128_ule> for u128

§

type Output = u128

§

impl Add<&u128_ule> for u128_ule

§

type Output = u128

Source§

impl Add<&JsValue> for JsValue

Source§

type Output = <&'static JsValue as Add>::Output

§

impl Add<&f32x4> for f32x4

§

impl Add<&f32x8> for f32x8

§

impl Add<&f64x2> for f64x2

§

impl Add<&f64x4> for f64x4

§

impl Add<&i8x16> for i8x16

§

impl Add<&i8x32> for i8x32

§

impl Add<&i16x8> for i16x8

§

impl Add<&i16x16> for i16x16

§

impl Add<&i32x4> for i32x4

§

impl Add<&i32x8> for i32x8

§

impl Add<&i64x2> for i64x2

§

impl Add<&u8x16> for u8x16

§

impl Add<&u16x8> for u16x8

§

impl Add<&u16x16> for u16x16

§

impl Add<&u32x4> for u32x4

§

impl Add<&u32x8> for u32x8

§

impl Add<&u64x2> for u64x2

§

impl Add<&u64x4> for u64x4

Source§

impl Add<&Vec3A> for &f32

Source§

impl Add<&Vec3A> for &Vec3A

Source§

impl Add<&Vec3A> for f32

Source§

impl Add<&Vec3A> for Vec3A

Source§

impl Add<&Vec4> for &f32

Source§

impl Add<&Vec4> for &Vec4

Source§

impl Add<&Vec4> for f32

Source§

impl Add<&Vec4> for Vec4

Source§

impl Add<&Vec2> for &f32

Source§

impl Add<&Vec2> for &Vec2

Source§

impl Add<&Vec2> for f32

Source§

impl Add<&Vec2> for Vec2

Source§

impl Add<&Vec3> for &f32

Source§

impl Add<&Vec3> for &Vec3

Source§

impl Add<&Vec3> for f32

Source§

impl Add<&Vec3> for Vec3

Source§

impl Add<&DVec2> for &f64

Source§

impl Add<&DVec2> for &DVec2

Source§

impl Add<&DVec2> for f64

Source§

impl Add<&DVec2> for DVec2

Source§

impl Add<&DVec3> for &f64

Source§

impl Add<&DVec3> for &DVec3

Source§

impl Add<&DVec3> for f64

Source§

impl Add<&DVec3> for DVec3

Source§

impl Add<&DVec4> for &f64

Source§

impl Add<&DVec4> for &DVec4

Source§

impl Add<&DVec4> for f64

Source§

impl Add<&DVec4> for DVec4

Source§

impl Add<&I8Vec2> for &i8

Source§

impl Add<&I8Vec2> for &I8Vec2

Source§

impl Add<&I8Vec2> for i8

Source§

impl Add<&I8Vec2> for I8Vec2

Source§

impl Add<&I8Vec3> for &i8

Source§

impl Add<&I8Vec3> for &I8Vec3

Source§

impl Add<&I8Vec3> for i8

Source§

impl Add<&I8Vec3> for I8Vec3

Source§

impl Add<&I8Vec4> for &i8

Source§

impl Add<&I8Vec4> for &I8Vec4

Source§

impl Add<&I8Vec4> for i8

Source§

impl Add<&I8Vec4> for I8Vec4

Source§

impl Add<&I16Vec2> for &i16

Source§

impl Add<&I16Vec2> for &I16Vec2

Source§

impl Add<&I16Vec2> for i16

Source§

impl Add<&I16Vec2> for I16Vec2

Source§

impl Add<&I16Vec3> for &i16

Source§

impl Add<&I16Vec3> for &I16Vec3

Source§

impl Add<&I16Vec3> for i16

Source§

impl Add<&I16Vec3> for I16Vec3

Source§

impl Add<&I16Vec4> for &i16

Source§

impl Add<&I16Vec4> for &I16Vec4

Source§

impl Add<&I16Vec4> for i16

Source§

impl Add<&I16Vec4> for I16Vec4

Source§

impl Add<&IVec2> for &i32

Source§

impl Add<&IVec2> for &IVec2

Source§

impl Add<&IVec2> for i32

Source§

impl Add<&IVec2> for IVec2

Source§

impl Add<&IVec3> for &i32

Source§

impl Add<&IVec3> for &IVec3

Source§

impl Add<&IVec3> for i32

Source§

impl Add<&IVec3> for IVec3

Source§

impl Add<&IVec4> for &i32

Source§

impl Add<&IVec4> for &IVec4

Source§

impl Add<&IVec4> for i32

Source§

impl Add<&IVec4> for IVec4

Source§

impl Add<&I64Vec2> for &i64

Source§

impl Add<&I64Vec2> for &I64Vec2

Source§

impl Add<&I64Vec2> for i64

Source§

impl Add<&I64Vec2> for I64Vec2

Source§

impl Add<&I64Vec3> for &i64

Source§

impl Add<&I64Vec3> for &I64Vec3

Source§

impl Add<&I64Vec3> for i64

Source§

impl Add<&I64Vec3> for I64Vec3

Source§

impl Add<&I64Vec4> for &i64

Source§

impl Add<&I64Vec4> for &I64Vec4

Source§

impl Add<&I64Vec4> for i64

Source§

impl Add<&I64Vec4> for I64Vec4

Source§

impl Add<&U8Vec2> for &u8

Source§

impl Add<&U8Vec2> for &U8Vec2

Source§

impl Add<&U8Vec2> for u8

Source§

impl Add<&U8Vec2> for U8Vec2

Source§

impl Add<&U8Vec3> for &u8

Source§

impl Add<&U8Vec3> for &U8Vec3

Source§

impl Add<&U8Vec3> for u8

Source§

impl Add<&U8Vec3> for U8Vec3

Source§

impl Add<&U8Vec4> for &u8

Source§

impl Add<&U8Vec4> for &U8Vec4

Source§

impl Add<&U8Vec4> for u8

Source§

impl Add<&U8Vec4> for U8Vec4

Source§

impl Add<&U16Vec2> for &u16

Source§

impl Add<&U16Vec2> for &U16Vec2

Source§

impl Add<&U16Vec2> for u16

Source§

impl Add<&U16Vec2> for U16Vec2

Source§

impl Add<&U16Vec3> for &u16

Source§

impl Add<&U16Vec3> for &U16Vec3

Source§

impl Add<&U16Vec3> for u16

Source§

impl Add<&U16Vec3> for U16Vec3

Source§

impl Add<&U16Vec4> for &u16

Source§

impl Add<&U16Vec4> for &U16Vec4

Source§

impl Add<&U16Vec4> for u16

Source§

impl Add<&U16Vec4> for U16Vec4

Source§

impl Add<&UVec2> for &u32

Source§

impl Add<&UVec2> for &UVec2

Source§

impl Add<&UVec2> for u32

Source§

impl Add<&UVec2> for UVec2

Source§

impl Add<&UVec3> for &u32

Source§

impl Add<&UVec3> for &UVec3

Source§

impl Add<&UVec3> for u32

Source§

impl Add<&UVec3> for UVec3

Source§

impl Add<&UVec4> for &u32

Source§

impl Add<&UVec4> for &UVec4

Source§

impl Add<&UVec4> for u32

Source§

impl Add<&UVec4> for UVec4

Source§

impl Add<&U64Vec2> for &u64

Source§

impl Add<&U64Vec2> for &U64Vec2

Source§

impl Add<&U64Vec2> for u64

Source§

impl Add<&U64Vec2> for U64Vec2

Source§

impl Add<&U64Vec3> for &u64

Source§

impl Add<&U64Vec3> for &U64Vec3

Source§

impl Add<&U64Vec3> for u64

Source§

impl Add<&U64Vec3> for U64Vec3

Source§

impl Add<&U64Vec4> for &u64

Source§

impl Add<&U64Vec4> for &U64Vec4

Source§

impl Add<&U64Vec4> for u64

Source§

impl Add<&U64Vec4> for U64Vec4

1.74.0 · Source§

impl Add<&Saturating<i8>> for &Saturating<i8>

1.74.0 · Source§

impl Add<&Saturating<i8>> for Saturating<i8>

1.74.0 · Source§

impl Add<&Saturating<i16>> for &Saturating<i16>

1.74.0 · Source§

impl Add<&Saturating<i16>> for Saturating<i16>

1.74.0 · Source§

impl Add<&Saturating<i32>> for &Saturating<i32>

1.74.0 · Source§

impl Add<&Saturating<i32>> for Saturating<i32>

1.74.0 · Source§

impl Add<&Saturating<i64>> for &Saturating<i64>

1.74.0 · Source§

impl Add<&Saturating<i64>> for Saturating<i64>

1.74.0 · Source§

impl Add<&Saturating<i128>> for &Saturating<i128>

1.74.0 · Source§

impl Add<&Saturating<i128>> for Saturating<i128>

1.74.0 · Source§

impl Add<&Saturating<isize>> for &Saturating<isize>

1.74.0 · Source§

impl Add<&Saturating<isize>> for Saturating<isize>

1.74.0 · Source§

impl Add<&Saturating<u8>> for &Saturating<u8>

1.74.0 · Source§

impl Add<&Saturating<u8>> for Saturating<u8>

1.74.0 · Source§

impl Add<&Saturating<u16>> for &Saturating<u16>

1.74.0 · Source§

impl Add<&Saturating<u16>> for Saturating<u16>

1.74.0 · Source§

impl Add<&Saturating<u32>> for &Saturating<u32>

1.74.0 · Source§

impl Add<&Saturating<u32>> for Saturating<u32>

1.74.0 · Source§

impl Add<&Saturating<u64>> for &Saturating<u64>

1.74.0 · Source§

impl Add<&Saturating<u64>> for Saturating<u64>

1.74.0 · Source§

impl Add<&Saturating<u128>> for &Saturating<u128>

1.74.0 · Source§

impl Add<&Saturating<u128>> for Saturating<u128>

1.74.0 · Source§

impl Add<&Saturating<usize>> for &Saturating<usize>

1.74.0 · Source§

impl Add<&Saturating<usize>> for Saturating<usize>

1.14.0 · Source§

impl Add<&Wrapping<i8>> for &Wrapping<i8>

1.14.0 · Source§

impl Add<&Wrapping<i8>> for Wrapping<i8>

1.14.0 · Source§

impl Add<&Wrapping<i16>> for &Wrapping<i16>

1.14.0 · Source§

impl Add<&Wrapping<i16>> for Wrapping<i16>

1.14.0 · Source§

impl Add<&Wrapping<i32>> for &Wrapping<i32>

1.14.0 · Source§

impl Add<&Wrapping<i32>> for Wrapping<i32>

1.14.0 · Source§

impl Add<&Wrapping<i64>> for &Wrapping<i64>

1.14.0 · Source§

impl Add<&Wrapping<i64>> for Wrapping<i64>

1.14.0 · Source§

impl Add<&Wrapping<i128>> for &Wrapping<i128>

1.14.0 · Source§

impl Add<&Wrapping<i128>> for Wrapping<i128>

1.14.0 · Source§

impl Add<&Wrapping<isize>> for &Wrapping<isize>

1.14.0 · Source§

impl Add<&Wrapping<isize>> for Wrapping<isize>

1.14.0 · Source§

impl Add<&Wrapping<u8>> for &Wrapping<u8>

1.14.0 · Source§

impl Add<&Wrapping<u8>> for Wrapping<u8>

1.14.0 · Source§

impl Add<&Wrapping<u16>> for &Wrapping<u16>

1.14.0 · Source§

impl Add<&Wrapping<u16>> for Wrapping<u16>

1.14.0 · Source§

impl Add<&Wrapping<u32>> for &Wrapping<u32>

1.14.0 · Source§

impl Add<&Wrapping<u32>> for Wrapping<u32>

1.14.0 · Source§

impl Add<&Wrapping<u64>> for &Wrapping<u64>

1.14.0 · Source§

impl Add<&Wrapping<u64>> for Wrapping<u64>

1.14.0 · Source§

impl Add<&Wrapping<u128>> for &Wrapping<u128>

1.14.0 · Source§

impl Add<&Wrapping<u128>> for Wrapping<u128>

1.14.0 · Source§

impl Add<&Wrapping<usize>> for &Wrapping<usize>

1.14.0 · Source§

impl Add<&Wrapping<usize>> for Wrapping<usize>

§

impl Add<Weekday> for i8

§

impl Add<Weekday> for i16

§

impl Add<Weekday> for i32

§

impl Add<Weekday> for i64

§

impl Add<f32> for &f32_be

§

type Output = f32

§

impl Add<f32> for &f32_le

§

type Output = f32

§

impl Add<f32> for &f32_ube

§

type Output = f32

§

impl Add<f32> for &f32_ule

§

type Output = f32

Source§

impl Add<f32> for &Vec3A

Source§

impl Add<f32> for &Vec4

Source§

impl Add<f32> for &Vec2

Source§

impl Add<f32> for &Vec3

§

impl Add<f32> for f32_be

§

type Output = f32

§

impl Add<f32> for f32_le

§

type Output = f32

§

impl Add<f32> for f32_ube

§

type Output = f32

§

impl Add<f32> for f32_ule

§

type Output = f32

§

impl Add<f32> for f32x4

§

impl Add<f32> for f32x8

Source§

impl Add<f32> for Float<f32>

Available on crate feature _float_f32 only.
Source§

impl Add<f32> for Vec3A

Source§

impl Add<f32> for Vec4

Source§

impl Add<f32> for Vec2

Source§

impl Add<f32> for Vec3

§

impl Add<f64> for &f64_be

§

type Output = f64

§

impl Add<f64> for &f64_le

§

type Output = f64

§

impl Add<f64> for &f64_ube

§

type Output = f64

§

impl Add<f64> for &f64_ule

§

type Output = f64

Source§

impl Add<f64> for &DVec2

Source§

impl Add<f64> for &DVec3

Source§

impl Add<f64> for &DVec4

§

impl Add<f64> for ClockTime

§

impl Add<f64> for f64_be

§

type Output = f64

§

impl Add<f64> for f64_le

§

type Output = f64

§

impl Add<f64> for f64_ube

§

type Output = f64

§

impl Add<f64> for f64_ule

§

type Output = f64

§

impl Add<f64> for f64x2

§

impl Add<f64> for f64x4

Source§

impl Add<f64> for Float<f64>

Available on crate feature _float_f64 only.
Source§

impl Add<f64> for DVec2

Source§

impl Add<f64> for DVec3

Source§

impl Add<f64> for DVec4

Source§

impl Add<i8> for &I8Vec2

Source§

impl Add<i8> for &I8Vec3

Source§

impl Add<i8> for &I8Vec4

§

impl Add<i8> for Weekday

§

impl Add<i8> for i8x16

§

impl Add<i8> for i8x32

Source§

impl Add<i8> for Int<i8>

Available on crate feature _int_i8 only.
Source§

impl Add<i8> for I8Vec2

Source§

impl Add<i8> for I8Vec3

Source§

impl Add<i8> for I8Vec4

§

impl Add<i16> for &i16_be

§

type Output = i16

§

impl Add<i16> for &i16_le

§

type Output = i16

§

impl Add<i16> for &i16_ube

§

type Output = i16

§

impl Add<i16> for &i16_ule

§

type Output = i16

Source§

impl Add<i16> for &I16Vec2

Source§

impl Add<i16> for &I16Vec3

Source§

impl Add<i16> for &I16Vec4

§

impl Add<i16> for Weekday

§

impl Add<i16> for i16_be

§

type Output = i16

§

impl Add<i16> for i16_le

§

type Output = i16

§

impl Add<i16> for i16_ube

§

type Output = i16

§

impl Add<i16> for i16_ule

§

type Output = i16

§

impl Add<i16> for i16x8

§

impl Add<i16> for i16x16

Source§

impl Add<i16> for Int<i16>

Available on crate feature _int_i16 only.
Source§

impl Add<i16> for I16Vec2

Source§

impl Add<i16> for I16Vec3

Source§

impl Add<i16> for I16Vec4

§

impl Add<i32> for &i32_be

§

type Output = i32

§

impl Add<i32> for &i32_le

§

type Output = i32

§

impl Add<i32> for &i32_ube

§

type Output = i32

§

impl Add<i32> for &i32_ule

§

type Output = i32

Source§

impl Add<i32> for &IVec2

Source§

impl Add<i32> for &IVec3

Source§

impl Add<i32> for &IVec4

§

impl Add<i32> for Weekday

§

impl Add<i32> for i32_be

§

type Output = i32

§

impl Add<i32> for i32_le

§

type Output = i32

§

impl Add<i32> for i32_ube

§

type Output = i32

§

impl Add<i32> for i32_ule

§

type Output = i32

§

impl Add<i32> for i32x4

§

impl Add<i32> for i32x8

Source§

impl Add<i32> for Int<i32>

Available on crate feature _int_i32 only.
Source§

impl Add<i32> for IVec2

Source§

impl Add<i32> for IVec3

Source§

impl Add<i32> for IVec4

§

impl Add<i64> for &i64_be

§

type Output = i64

§

impl Add<i64> for &i64_le

§

type Output = i64

§

impl Add<i64> for &i64_ube

§

type Output = i64

§

impl Add<i64> for &i64_ule

§

type Output = i64

Source§

impl Add<i64> for &I64Vec2

Source§

impl Add<i64> for &I64Vec3

Source§

impl Add<i64> for &I64Vec4

§

impl Add<i64> for Weekday

§

impl Add<i64> for i64_be

§

type Output = i64

§

impl Add<i64> for i64_le

§

type Output = i64

§

impl Add<i64> for i64_ube

§

type Output = i64

§

impl Add<i64> for i64_ule

§

type Output = i64

§

impl Add<i64> for i64x2

§

impl Add<i64> for i64x4

Source§

impl Add<i64> for Int<i64>

Available on crate feature _int_i64 only.
Source§

impl Add<i64> for I64Vec2

Source§

impl Add<i64> for I64Vec3

Source§

impl Add<i64> for I64Vec4

§

impl Add<i128> for &i128_be

§

type Output = i128

§

impl Add<i128> for &i128_le

§

type Output = i128

§

impl Add<i128> for &i128_ube

§

type Output = i128

§

impl Add<i128> for &i128_ule

§

type Output = i128

§

impl Add<i128> for i128_be

§

type Output = i128

§

impl Add<i128> for i128_le

§

type Output = i128

§

impl Add<i128> for i128_ube

§

type Output = i128

§

impl Add<i128> for i128_ule

§

type Output = i128

Source§

impl Add<i128> for Int<i128>

Available on crate feature _int_i128 only.
Source§

impl Add<isize> for Int<isize>

Available on crate feature _int_isize only.
Source§

impl Add<u8> for &U8Vec2

Source§

impl Add<u8> for &U8Vec3

Source§

impl Add<u8> for &U8Vec4

§

impl Add<u8> for u8x16

Source§

impl Add<u8> for Int<u8>

Available on crate feature _int_i8 only.
Source§

impl Add<u8> for U8Vec2

Source§

impl Add<u8> for U8Vec3

Source§

impl Add<u8> for U8Vec4

§

impl Add<u16> for &u16_be

§

type Output = u16

§

impl Add<u16> for &u16_le

§

type Output = u16

§

impl Add<u16> for &u16_ube

§

type Output = u16

§

impl Add<u16> for &u16_ule

§

type Output = u16

Source§

impl Add<u16> for &U16Vec2

Source§

impl Add<u16> for &U16Vec3

Source§

impl Add<u16> for &U16Vec4

§

impl Add<u16> for u16_be

§

type Output = u16

§

impl Add<u16> for u16_le

§

type Output = u16

§

impl Add<u16> for u16_ube

§

type Output = u16

§

impl Add<u16> for u16_ule

§

type Output = u16

§

impl Add<u16> for u16x8

§

impl Add<u16> for u16x16

Source§

impl Add<u16> for Int<u16>

Available on crate feature _int_u16 only.
Source§

impl Add<u16> for U16Vec2

Source§

impl Add<u16> for U16Vec3

Source§

impl Add<u16> for U16Vec4

§

impl Add<u32> for &u32_be

§

type Output = u32

§

impl Add<u32> for &u32_le

§

type Output = u32

§

impl Add<u32> for &u32_ube

§

type Output = u32

§

impl Add<u32> for &u32_ule

§

type Output = u32

Source§

impl Add<u32> for &UVec2

Source§

impl Add<u32> for &UVec3

Source§

impl Add<u32> for &UVec4

§

impl Add<u32> for u32_be

§

type Output = u32

§

impl Add<u32> for u32_le

§

type Output = u32

§

impl Add<u32> for u32_ube

§

type Output = u32

§

impl Add<u32> for u32_ule

§

type Output = u32

§

impl Add<u32> for u32x4

Source§

impl Add<u32> for Int<u32>

Available on crate feature _int_u32 only.
Source§

impl Add<u32> for UVec2

Source§

impl Add<u32> for UVec3

Source§

impl Add<u32> for UVec4

§

impl Add<u64> for &u64_be

§

type Output = u64

§

impl Add<u64> for &u64_le

§

type Output = u64

§

impl Add<u64> for &u64_ube

§

type Output = u64

§

impl Add<u64> for &u64_ule

§

type Output = u64

Source§

impl Add<u64> for &U64Vec2

Source§

impl Add<u64> for &U64Vec3

Source§

impl Add<u64> for &U64Vec4

§

impl Add<u64> for ClockTime

§

impl Add<u64> for u64_be

§

type Output = u64

§

impl Add<u64> for u64_le

§

type Output = u64

§

impl Add<u64> for u64_ube

§

type Output = u64

§

impl Add<u64> for u64_ule

§

type Output = u64

§

impl Add<u64> for u64x2

§

impl Add<u64> for u64x4

Source§

impl Add<u64> for Int<u64>

Available on crate feature _int_u64 only.
Source§

impl Add<u64> for U64Vec2

Source§

impl Add<u64> for U64Vec3

Source§

impl Add<u64> for U64Vec4

§

impl Add<u128> for &u128_be

§

type Output = u128

§

impl Add<u128> for &u128_le

§

type Output = u128

§

impl Add<u128> for &u128_ube

§

type Output = u128

§

impl Add<u128> for &u128_ule

§

type Output = u128

§

impl Add<u128> for u128_be

§

type Output = u128

§

impl Add<u128> for u128_le

§

type Output = u128

§

impl Add<u128> for u128_ube

§

type Output = u128

§

impl Add<u128> for u128_ule

§

type Output = u128

Source§

impl Add<u128> for Int<u128>

Available on crate feature _int_u128 only.
Source§

impl Add<usize> for Int<usize>

Available on crate feature _int_usize only.
§

impl Add<SignedDuration> for Date

Adds a signed duration of time to a date.

This uses checked arithmetic and panics on overflow. To handle overflow without panics, use Date::checked_add.

§

type Output = Date

§

impl Add<SignedDuration> for DateTime

Adds a signed duration of time to a datetime.

This uses checked arithmetic and panics on overflow. To handle overflow without panics, use DateTime::checked_add.

§

impl Add<SignedDuration> for Time

Adds a signed duration of time. This uses wrapping arithmetic.

For checked arithmetic, see Time::checked_add.

§

type Output = Time

§

impl Add<SignedDuration> for Timestamp

Adds a signed duration of time to a timestamp.

This uses checked arithmetic and panics on overflow. To handle overflow without panics, use Timestamp::checked_add.

§

impl Add<SignedDuration> for Offset

Adds a signed duration of time to an offset. This panics on overflow.

For checked arithmetic, see Offset::checked_add.

§

impl Add<Span> for Date

Adds a span of time to a date.

This uses checked arithmetic and panics on overflow. To handle overflow without panics, use Date::checked_add.

§

type Output = Date

§

impl Add<Span> for DateTime

Adds a span of time to a datetime.

This uses checked arithmetic and panics on overflow. To handle overflow without panics, use DateTime::checked_add.

§

impl Add<Span> for Time

Adds a span of time. This uses wrapping arithmetic.

For checked arithmetic, see Time::checked_add.

§

type Output = Time

§

impl Add<Span> for Timestamp

Adds a span of time to a timestamp.

This uses checked arithmetic and panics when it fails. To handle arithmetic without panics, use Timestamp::checked_add. Note that the failure condition includes overflow and using a Span with non-zero units greater than hours.

§

impl Add<Span> for Offset

Adds a span of time to an offset. This panics on overflow.

For checked arithmetic, see Offset::checked_add.

§

impl Add<f32_be> for &f32

§

type Output = f32

§

impl Add<f32_be> for &f32_be

§

type Output = f32

§

impl Add<f32_be> for f32

§

type Output = f32

§

impl Add<f32_le> for &f32

§

type Output = f32

§

impl Add<f32_le> for &f32_le

§

type Output = f32

§

impl Add<f32_le> for f32

§

type Output = f32

§

impl Add<f64_be> for &f64

§

type Output = f64

§

impl Add<f64_be> for &f64_be

§

type Output = f64

§

impl Add<f64_be> for f64

§

type Output = f64

§

impl Add<f64_le> for &f64

§

type Output = f64

§

impl Add<f64_le> for &f64_le

§

type Output = f64

§

impl Add<f64_le> for f64

§

type Output = f64

§

impl Add<i16_be> for &i16

§

type Output = i16

§

impl Add<i16_be> for &i16_be

§

type Output = i16

§

impl Add<i16_be> for i16

§

type Output = i16

§

impl Add<i16_le> for &i16

§

type Output = i16

§

impl Add<i16_le> for &i16_le

§

type Output = i16

§

impl Add<i16_le> for i16

§

type Output = i16

§

impl Add<i32_be> for &i32

§

type Output = i32

§

impl Add<i32_be> for &i32_be

§

type Output = i32

§

impl Add<i32_be> for i32

§

type Output = i32

§

impl Add<i32_le> for &i32

§

type Output = i32

§

impl Add<i32_le> for &i32_le

§

type Output = i32

§

impl Add<i32_le> for i32

§

type Output = i32

§

impl Add<i64_be> for &i64

§

type Output = i64

§

impl Add<i64_be> for &i64_be

§

type Output = i64

§

impl Add<i64_be> for i64

§

type Output = i64

§

impl Add<i64_le> for &i64

§

type Output = i64

§

impl Add<i64_le> for &i64_le

§

type Output = i64

§

impl Add<i64_le> for i64

§

type Output = i64

§

impl Add<i128_be> for &i128

§

type Output = i128

§

impl Add<i128_be> for &i128_be

§

type Output = i128

§

impl Add<i128_be> for i128

§

type Output = i128

§

impl Add<i128_le> for &i128

§

type Output = i128

§

impl Add<i128_le> for &i128_le

§

type Output = i128

§

impl Add<i128_le> for i128

§

type Output = i128

§

impl Add<u16_be> for &u16

§

type Output = u16

§

impl Add<u16_be> for &u16_be

§

type Output = u16

§

impl Add<u16_be> for u16

§

type Output = u16

§

impl Add<u16_le> for &u16

§

type Output = u16

§

impl Add<u16_le> for &u16_le

§

type Output = u16

§

impl Add<u16_le> for u16

§

type Output = u16

§

impl Add<u32_be> for &u32

§

type Output = u32

§

impl Add<u32_be> for &u32_be

§

type Output = u32

§

impl Add<u32_be> for u32

§

type Output = u32

§

impl Add<u32_le> for &u32

§

type Output = u32

§

impl Add<u32_le> for &u32_le

§

type Output = u32

§

impl Add<u32_le> for u32

§

type Output = u32

§

impl Add<u64_be> for &u64

§

type Output = u64

§

impl Add<u64_be> for &u64_be

§

type Output = u64

§

impl Add<u64_be> for u64

§

type Output = u64

§

impl Add<u64_le> for &u64

§

type Output = u64

§

impl Add<u64_le> for &u64_le

§

type Output = u64

§

impl Add<u64_le> for u64

§

type Output = u64

§

impl Add<u128_be> for &u128

§

type Output = u128

§

impl Add<u128_be> for &u128_be

§

type Output = u128

§

impl Add<u128_be> for u128

§

type Output = u128

§

impl Add<u128_le> for &u128

§

type Output = u128

§

impl Add<u128_le> for &u128_le

§

type Output = u128

§

impl Add<u128_le> for u128

§

type Output = u128

§

impl Add<f32_ube> for &f32

§

type Output = f32

§

impl Add<f32_ube> for &f32_ube

§

type Output = f32

§

impl Add<f32_ube> for f32

§

type Output = f32

§

impl Add<f32_ule> for &f32

§

type Output = f32

§

impl Add<f32_ule> for &f32_ule

§

type Output = f32

§

impl Add<f32_ule> for f32

§

type Output = f32

§

impl Add<f64_ube> for &f64

§

type Output = f64

§

impl Add<f64_ube> for &f64_ube

§

type Output = f64

§

impl Add<f64_ube> for f64

§

type Output = f64

§

impl Add<f64_ule> for &f64

§

type Output = f64

§

impl Add<f64_ule> for &f64_ule

§

type Output = f64

§

impl Add<f64_ule> for f64

§

type Output = f64

§

impl Add<i16_ube> for &i16

§

type Output = i16

§

impl Add<i16_ube> for &i16_ube

§

type Output = i16

§

impl Add<i16_ube> for i16

§

type Output = i16

§

impl Add<i16_ule> for &i16

§

type Output = i16

§

impl Add<i16_ule> for &i16_ule

§

type Output = i16

§

impl Add<i16_ule> for i16

§

type Output = i16

§

impl Add<i32_ube> for &i32

§

type Output = i32

§

impl Add<i32_ube> for &i32_ube

§

type Output = i32

§

impl Add<i32_ube> for i32

§

type Output = i32

§

impl Add<i32_ule> for &i32

§

type Output = i32

§

impl Add<i32_ule> for &i32_ule

§

type Output = i32

§

impl Add<i32_ule> for i32

§

type Output = i32

§

impl Add<i64_ube> for &i64

§

type Output = i64

§

impl Add<i64_ube> for &i64_ube

§

type Output = i64

§

impl Add<i64_ube> for i64

§

type Output = i64

§

impl Add<i64_ule> for &i64

§

type Output = i64

§

impl Add<i64_ule> for &i64_ule

§

type Output = i64

§

impl Add<i64_ule> for i64

§

type Output = i64

§

impl Add<i128_ube> for &i128

§

type Output = i128

§

impl Add<i128_ube> for &i128_ube

§

type Output = i128

§

impl Add<i128_ube> for i128

§

type Output = i128

§

impl Add<i128_ule> for &i128

§

type Output = i128

§

impl Add<i128_ule> for &i128_ule

§

type Output = i128

§

impl Add<i128_ule> for i128

§

type Output = i128

§

impl Add<u16_ube> for &u16

§

type Output = u16

§

impl Add<u16_ube> for &u16_ube

§

type Output = u16

§

impl Add<u16_ube> for u16

§

type Output = u16

§

impl Add<u16_ule> for &u16

§

type Output = u16

§

impl Add<u16_ule> for &u16_ule

§

type Output = u16

§

impl Add<u16_ule> for u16

§

type Output = u16

§

impl Add<u32_ube> for &u32

§

type Output = u32

§

impl Add<u32_ube> for &u32_ube

§

type Output = u32

§

impl Add<u32_ube> for u32

§

type Output = u32

§

impl Add<u32_ule> for &u32

§

type Output = u32

§

impl Add<u32_ule> for &u32_ule

§

type Output = u32

§

impl Add<u32_ule> for u32

§

type Output = u32

§

impl Add<u64_ube> for &u64

§

type Output = u64

§

impl Add<u64_ube> for &u64_ube

§

type Output = u64

§

impl Add<u64_ube> for u64

§

type Output = u64

§

impl Add<u64_ule> for &u64

§

type Output = u64

§

impl Add<u64_ule> for &u64_ule

§

type Output = u64

§

impl Add<u64_ule> for u64

§

type Output = u64

§

impl Add<u128_ube> for &u128

§

type Output = u128

§

impl Add<u128_ube> for &u128_ube

§

type Output = u128

§

impl Add<u128_ube> for u128

§

type Output = u128

§

impl Add<u128_ule> for &u128

§

type Output = u128

§

impl Add<u128_ule> for &u128_ule

§

type Output = u128

§

impl Add<u128_ule> for u128

§

type Output = u128

§

impl Add<f32x4> for f32

§

impl Add<f32x8> for f32

§

impl Add<f64x2> for f64

§

impl Add<f64x4> for f64

§

impl Add<i8x16> for i8

§

impl Add<i8x32> for i8

§

impl Add<i16x8> for i16

§

impl Add<i16x16> for i16

§

impl Add<i32x4> for i32

§

impl Add<i32x8> for i32

§

impl Add<i64x2> for i64

§

impl Add<i64x4> for i64

§

impl Add<u8x16> for u8

§

impl Add<u16x8> for u16

§

impl Add<u16x16> for u16

§

impl Add<u32x4> for u32

§

impl Add<u64x2> for u64

§

impl Add<u64x4> for u64

§

impl Add<Duration> for Date

Adds an unsigned duration of time to a date.

This uses checked arithmetic and panics on overflow. To handle overflow without panics, use Date::checked_add.

§

type Output = Date

§

impl Add<Duration> for DateTime

Adds an unsigned duration of time to a datetime.

This uses checked arithmetic and panics on overflow. To handle overflow without panics, use DateTime::checked_add.

§

impl Add<Duration> for Time

Adds an unsigned duration of time. This uses wrapping arithmetic.

For checked arithmetic, see Time::checked_add.

§

type Output = Time

§

impl Add<Duration> for Timestamp

Adds an unsigned duration of time to a timestamp.

This uses checked arithmetic and panics on overflow. To handle overflow without panics, use Timestamp::checked_add.

§

impl Add<Duration> for Offset

Adds an unsigned duration of time to an offset. This panics on overflow.

For checked arithmetic, see Offset::checked_add.

1.8.0 · Source§

impl Add<Duration> for Instant

1.8.0 · Source§

impl Add<Duration> for SystemTime

Source§

impl Add<Vec3A> for &f32

Source§

impl Add<Vec3A> for &Vec3A

Source§

impl Add<Vec3A> for f32

Source§

impl Add<Vec4> for &f32

Source§

impl Add<Vec4> for &Vec4

Source§

impl Add<Vec4> for f32

Source§

impl Add<Vec2> for &f32

Source§

impl Add<Vec2> for &Vec2

Source§

impl Add<Vec2> for f32

Source§

impl Add<Vec3> for &f32

Source§

impl Add<Vec3> for &Vec3

Source§

impl Add<Vec3> for f32

Source§

impl Add<DVec2> for &f64

Source§

impl Add<DVec2> for &DVec2

Source§

impl Add<DVec2> for f64

Source§

impl Add<DVec3> for &f64

Source§

impl Add<DVec3> for &DVec3

Source§

impl Add<DVec3> for f64

Source§

impl Add<DVec4> for &f64

Source§

impl Add<DVec4> for &DVec4

Source§

impl Add<DVec4> for f64

Source§

impl Add<I8Vec2> for &i8

Source§

impl Add<I8Vec2> for &I8Vec2

Source§

impl Add<I8Vec2> for i8

Source§

impl Add<I8Vec3> for &i8

Source§

impl Add<I8Vec3> for &I8Vec3

Source§

impl Add<I8Vec3> for i8

Source§

impl Add<I8Vec4> for &i8

Source§

impl Add<I8Vec4> for &I8Vec4

Source§

impl Add<I8Vec4> for i8

Source§

impl Add<I16Vec2> for &i16

Source§

impl Add<I16Vec2> for &I16Vec2

Source§

impl Add<I16Vec2> for i16

Source§

impl Add<I16Vec3> for &i16

Source§

impl Add<I16Vec3> for &I16Vec3

Source§

impl Add<I16Vec3> for i16

Source§

impl Add<I16Vec4> for &i16

Source§

impl Add<I16Vec4> for &I16Vec4

Source§

impl Add<I16Vec4> for i16

Source§

impl Add<IVec2> for &i32

Source§

impl Add<IVec2> for &IVec2

Source§

impl Add<IVec2> for i32

Source§

impl Add<IVec3> for &i32

Source§

impl Add<IVec3> for &IVec3

Source§

impl Add<IVec3> for i32

Source§

impl Add<IVec4> for &i32

Source§

impl Add<IVec4> for &IVec4

Source§

impl Add<IVec4> for i32

Source§

impl Add<I64Vec2> for &i64

Source§

impl Add<I64Vec2> for &I64Vec2

Source§

impl Add<I64Vec2> for i64

Source§

impl Add<I64Vec3> for &i64

Source§

impl Add<I64Vec3> for &I64Vec3

Source§

impl Add<I64Vec3> for i64

Source§

impl Add<I64Vec4> for &i64

Source§

impl Add<I64Vec4> for &I64Vec4

Source§

impl Add<I64Vec4> for i64

Source§

impl Add<U8Vec2> for &u8

Source§

impl Add<U8Vec2> for &U8Vec2

Source§

impl Add<U8Vec2> for u8

Source§

impl Add<U8Vec3> for &u8

Source§

impl Add<U8Vec3> for &U8Vec3

Source§

impl Add<U8Vec3> for u8

Source§

impl Add<U8Vec4> for &u8

Source§

impl Add<U8Vec4> for &U8Vec4

Source§

impl Add<U8Vec4> for u8

Source§

impl Add<U16Vec2> for &u16

Source§

impl Add<U16Vec2> for &U16Vec2

Source§

impl Add<U16Vec2> for u16

Source§

impl Add<U16Vec3> for &u16

Source§

impl Add<U16Vec3> for &U16Vec3

Source§

impl Add<U16Vec3> for u16

Source§

impl Add<U16Vec4> for &u16

Source§

impl Add<U16Vec4> for &U16Vec4

Source§

impl Add<U16Vec4> for u16

Source§

impl Add<UVec2> for &u32

Source§

impl Add<UVec2> for &UVec2

Source§

impl Add<UVec2> for u32

Source§

impl Add<UVec3> for &u32

Source§

impl Add<UVec3> for &UVec3

Source§

impl Add<UVec3> for u32

Source§

impl Add<UVec4> for &u32

Source§

impl Add<UVec4> for &UVec4

Source§

impl Add<UVec4> for u32

Source§

impl Add<U64Vec2> for &u64

Source§

impl Add<U64Vec2> for &U64Vec2

Source§

impl Add<U64Vec2> for u64

Source§

impl Add<U64Vec3> for &u64

Source§

impl Add<U64Vec3> for &U64Vec3

Source§

impl Add<U64Vec3> for u64

Source§

impl Add<U64Vec4> for &u64

Source§

impl Add<U64Vec4> for &U64Vec4

Source§

impl Add<U64Vec4> for u64

1.14.0 · Source§

impl<'a> Add for Cow<'a, str>

Source§

type Output = Cow<'a, str>

1.14.0 · Source§

impl<'a> Add<&'a str> for Cow<'a, str>

Source§

type Output = Cow<'a, str>

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

§

impl<'a> Add<SignedDuration> for &'a Zoned

Adds a signed duration of time to a zoned datetime.

This uses checked arithmetic and panics on overflow. To handle overflow without panics, use Zoned::checked_add.

§

impl<'a> Add<Span> for &'a Zoned

Adds a span of time to a zoned datetime.

This uses checked arithmetic and panics on overflow. To handle overflow without panics, use Zoned::checked_add.

Source§

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

Source§

type Output = <&'static BigInt as Add>::Output

Source§

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

Source§

type Output = <&'static Number as Add>::Output

Source§

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

Source§

type Output = <&'static JsValue as Add>::Output

§

impl<'a> Add<Duration> for &'a Zoned

Adds an unsigned duration of time to a zoned datetime.

This uses checked arithmetic and panics on overflow. To handle overflow without panics, use Zoned::checked_add.

1.74.0 · Source§

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

1.74.0 · Source§

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

1.74.0 · Source§

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

1.74.0 · Source§

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

1.74.0 · Source§

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

1.74.0 · Source§

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

1.74.0 · Source§

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

1.74.0 · Source§

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

1.74.0 · Source§

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

1.74.0 · Source§

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

1.74.0 · Source§

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

1.74.0 · Source§

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

1.14.0 · Source§

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

1.14.0 · Source§

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

1.14.0 · Source§

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

1.14.0 · Source§

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

1.14.0 · Source§

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

1.14.0 · Source§

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

1.14.0 · Source§

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

1.14.0 · Source§

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

1.14.0 · Source§

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

1.14.0 · Source§

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

1.14.0 · Source§

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

1.14.0 · Source§

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

§

impl<'a, 'bump> Add<&'a str> for devela::_dep::bumpalo::collections::String<'bump>

Implements the + operator for concatenating two strings.

This consumes the String<'bump> on the left-hand side and re-uses its buffer (growing it if necessary). This is done to avoid allocating a new String<'bump> 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<'bump>.

§Examples

Concatenating two String<'bump>s takes the first by value and borrows the second:

use bumpalo::{Bump, collections::String};

let bump = Bump::new();

let a = String::from_str_in("hello", &bump);
let b = String::from_str_in(" world", &bump);
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:

use bumpalo::{Bump, collections::String};

let bump = Bump::new();

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

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

use bumpalo::{Bump, collections::String};

let bump = Bump::new();

let a = "hello";
let b = " world";
let c = String::from_str_in(a, &bump) + b;
§

type Output = String<'bump>

Source§

impl<'lhs, 'rhs, T, const N: usize> Add<&'rhs Simd<T, N>> for &'lhs Simd<T, N>
where T: SimdElement, Simd<T, N>: Add<Output = Simd<T, N>>, LaneCount<N>: SupportedLaneCount,

Source§

type Output = Simd<T, N>

Source§

impl<'o> Add<&'o f32> for Float<f32>

Available on crate feature _float_f32 only.
Source§

impl<'o> Add<&'o f64> for Float<f64>

Available on crate feature _float_f64 only.
Source§

impl<'o> Add<&'o i8> for Int<i8>

Available on crate feature _int_i8 only.
Source§

impl<'o> Add<&'o i16> for Int<i16>

Available on crate feature _int_i16 only.
Source§

impl<'o> Add<&'o i32> for Int<i32>

Available on crate feature _int_i32 only.
Source§

impl<'o> Add<&'o i64> for Int<i64>

Available on crate feature _int_i64 only.
Source§

impl<'o> Add<&'o i128> for Int<i128>

Available on crate feature _int_i128 only.
Source§

impl<'o> Add<&'o isize> for Int<isize>

Available on crate feature _int_isize only.
Source§

impl<'o> Add<&'o u8> for Int<u8>

Available on crate feature _int_i8 only.
Source§

impl<'o> Add<&'o u16> for Int<u16>

Available on crate feature _int_u16 only.
Source§

impl<'o> Add<&'o u32> for Int<u32>

Available on crate feature _int_u32 only.
Source§

impl<'o> Add<&'o u64> for Int<u64>

Available on crate feature _int_u64 only.
Source§

impl<'o> Add<&'o u128> for Int<u128>

Available on crate feature _int_u128 only.
Source§

impl<'o> Add<&'o usize> for Int<usize>

Available on crate feature _int_usize only.
Source§

impl<'o> Add<&'o Float<f32>> for Float<f32>

Available on crate feature _float_f32 only.
Source§

impl<'o> Add<&'o Float<f64>> for Float<f64>

Available on crate feature _float_f64 only.
Source§

impl<'o> Add<&'o Int<i8>> for Int<i8>

Available on crate feature _int_i8 only.
Source§

impl<'o> Add<&'o Int<i16>> for Int<i16>

Available on crate feature _int_i16 only.
Source§

impl<'o> Add<&'o Int<i32>> for Int<i32>

Available on crate feature _int_i32 only.
Source§

impl<'o> Add<&'o Int<i64>> for Int<i64>

Available on crate feature _int_i64 only.
Source§

impl<'o> Add<&'o Int<i128>> for Int<i128>

Available on crate feature _int_i128 only.
Source§

impl<'o> Add<&'o Int<isize>> for Int<isize>

Available on crate feature _int_isize only.
Source§

impl<'o> Add<&'o Int<u8>> for Int<u8>

Available on crate feature _int_i8 only.
Source§

impl<'o> Add<&'o Int<u16>> for Int<u16>

Available on crate feature _int_u16 only.
Source§

impl<'o> Add<&'o Int<u32>> for Int<u32>

Available on crate feature _int_u32 only.
Source§

impl<'o> Add<&'o Int<u64>> for Int<u64>

Available on crate feature _int_u64 only.
Source§

impl<'o> Add<&'o Int<u128>> for Int<u128>

Available on crate feature _int_u128 only.
Source§

impl<'o> Add<&'o Int<usize>> for Int<usize>

Available on crate feature _int_usize only.
§

impl<'py> Add for &Bound<'py, PyComplex>

§

type Output = Bound<'py, PyComplex>

§

impl<'py> Add for Borrowed<'_, 'py, PyComplex>

§

type Output = Bound<'py, PyComplex>

§

impl<'py> Add for Bound<'py, PyComplex>

§

type Output = Bound<'py, PyComplex>

§

impl<'py> Add<&Bound<'py, PyComplex>> for Bound<'py, PyComplex>

§

type Output = Bound<'py, PyComplex>

§

impl<'py> Add<Bound<'py, PyComplex>> for &Bound<'py, PyComplex>

§

type Output = Bound<'py, PyComplex>

Source§

impl<'s> Add<f32> for &'s Float<f32>

Available on crate feature _float_f32 only.
Source§

impl<'s> Add<f64> for &'s Float<f64>

Available on crate feature _float_f64 only.
Source§

impl<'s> Add<i8> for &'s Int<i8>

Available on crate feature _int_i8 only.
Source§

impl<'s> Add<i16> for &'s Int<i16>

Available on crate feature _int_i16 only.
Source§

impl<'s> Add<i32> for &'s Int<i32>

Available on crate feature _int_i32 only.
Source§

impl<'s> Add<i64> for &'s Int<i64>

Available on crate feature _int_i64 only.
Source§

impl<'s> Add<i128> for &'s Int<i128>

Available on crate feature _int_i128 only.
Source§

impl<'s> Add<isize> for &'s Int<isize>

Available on crate feature _int_isize only.
Source§

impl<'s> Add<u8> for &'s Int<u8>

Available on crate feature _int_i8 only.
Source§

impl<'s> Add<u16> for &'s Int<u16>

Available on crate feature _int_u16 only.
Source§

impl<'s> Add<u32> for &'s Int<u32>

Available on crate feature _int_u32 only.
Source§

impl<'s> Add<u64> for &'s Int<u64>

Available on crate feature _int_u64 only.
Source§

impl<'s> Add<u128> for &'s Int<u128>

Available on crate feature _int_u128 only.
Source§

impl<'s> Add<usize> for &'s Int<usize>

Available on crate feature _int_usize only.
Source§

impl<'s> Add<Float<f32>> for &'s Float<f32>

Available on crate feature _float_f32 only.
Source§

impl<'s> Add<Float<f64>> for &'s Float<f64>

Available on crate feature _float_f64 only.
Source§

impl<'s> Add<Int<i8>> for &'s Int<i8>

Available on crate feature _int_i8 only.
Source§

impl<'s> Add<Int<i16>> for &'s Int<i16>

Available on crate feature _int_i16 only.
Source§

impl<'s> Add<Int<i32>> for &'s Int<i32>

Available on crate feature _int_i32 only.
Source§

impl<'s> Add<Int<i64>> for &'s Int<i64>

Available on crate feature _int_i64 only.
Source§

impl<'s> Add<Int<i128>> for &'s Int<i128>

Available on crate feature _int_i128 only.
Source§

impl<'s> Add<Int<isize>> for &'s Int<isize>

Available on crate feature _int_isize only.
Source§

impl<'s> Add<Int<u8>> for &'s Int<u8>

Available on crate feature _int_i8 only.
Source§

impl<'s> Add<Int<u16>> for &'s Int<u16>

Available on crate feature _int_u16 only.
Source§

impl<'s> Add<Int<u32>> for &'s Int<u32>

Available on crate feature _int_u32 only.
Source§

impl<'s> Add<Int<u64>> for &'s Int<u64>

Available on crate feature _int_u64 only.
Source§

impl<'s> Add<Int<u128>> for &'s Int<u128>

Available on crate feature _int_u128 only.
Source§

impl<'s> Add<Int<usize>> for &'s Int<usize>

Available on crate feature _int_usize only.
Source§

impl<'s, 'o> Add<&'o f32> for &'s Float<f32>

Available on crate feature _float_f32 only.
Source§

impl<'s, 'o> Add<&'o f64> for &'s Float<f64>

Available on crate feature _float_f64 only.
Source§

impl<'s, 'o> Add<&'o i8> for &'s Int<i8>

Available on crate feature _int_i8 only.
Source§

impl<'s, 'o> Add<&'o i16> for &'s Int<i16>

Available on crate feature _int_i16 only.
Source§

impl<'s, 'o> Add<&'o i32> for &'s Int<i32>

Available on crate feature _int_i32 only.
Source§

impl<'s, 'o> Add<&'o i64> for &'s Int<i64>

Available on crate feature _int_i64 only.
Source§

impl<'s, 'o> Add<&'o i128> for &'s Int<i128>

Available on crate feature _int_i128 only.
Source§

impl<'s, 'o> Add<&'o isize> for &'s Int<isize>

Available on crate feature _int_isize only.
Source§

impl<'s, 'o> Add<&'o u8> for &'s Int<u8>

Available on crate feature _int_i8 only.
Source§

impl<'s, 'o> Add<&'o u16> for &'s Int<u16>

Available on crate feature _int_u16 only.
Source§

impl<'s, 'o> Add<&'o u32> for &'s Int<u32>

Available on crate feature _int_u32 only.
Source§

impl<'s, 'o> Add<&'o u64> for &'s Int<u64>

Available on crate feature _int_u64 only.
Source§

impl<'s, 'o> Add<&'o u128> for &'s Int<u128>

Available on crate feature _int_u128 only.
Source§

impl<'s, 'o> Add<&'o usize> for &'s Int<usize>

Available on crate feature _int_usize only.
Source§

impl<'s, 'o> Add<&'o Float<f32>> for &'s Float<f32>

Available on crate feature _float_f32 only.
Source§

impl<'s, 'o> Add<&'o Float<f64>> for &'s Float<f64>

Available on crate feature _float_f64 only.
Source§

impl<'s, 'o> Add<&'o Int<i8>> for &'s Int<i8>

Available on crate feature _int_i8 only.
Source§

impl<'s, 'o> Add<&'o Int<i16>> for &'s Int<i16>

Available on crate feature _int_i16 only.
Source§

impl<'s, 'o> Add<&'o Int<i32>> for &'s Int<i32>

Available on crate feature _int_i32 only.
Source§

impl<'s, 'o> Add<&'o Int<i64>> for &'s Int<i64>

Available on crate feature _int_i64 only.
Source§

impl<'s, 'o> Add<&'o Int<i128>> for &'s Int<i128>

Available on crate feature _int_i128 only.
Source§

impl<'s, 'o> Add<&'o Int<isize>> for &'s Int<isize>

Available on crate feature _int_isize only.
Source§

impl<'s, 'o> Add<&'o Int<u8>> for &'s Int<u8>

Available on crate feature _int_i8 only.
Source§

impl<'s, 'o> Add<&'o Int<u16>> for &'s Int<u16>

Available on crate feature _int_u16 only.
Source§

impl<'s, 'o> Add<&'o Int<u32>> for &'s Int<u32>

Available on crate feature _int_u32 only.
Source§

impl<'s, 'o> Add<&'o Int<u64>> for &'s Int<u64>

Available on crate feature _int_u64 only.
Source§

impl<'s, 'o> Add<&'o Int<u128>> for &'s Int<u128>

Available on crate feature _int_u128 only.
Source§

impl<'s, 'o> Add<&'o Int<usize>> for &'s Int<usize>

Available on crate feature _int_usize only.
§

impl<T, Rhs> Add<Rhs> for Value<T>
where T: Add<Rhs, Output = T>, Rhs: Copy,

§

type Output = Value<T>

Source§

impl<T, const N: usize> Add<&Simd<T, N>> for Simd<T, N>
where T: SimdElement, Simd<T, N>: Add<Output = Simd<T, N>>, LaneCount<N>: SupportedLaneCount,

Source§

type Output = Simd<T, N>

Source§

impl<T, const N: usize> Add<Simd<T, N>> for &Simd<T, N>
where T: SimdElement, Simd<T, N>: Add<Output = Simd<T, N>>, LaneCount<N>: SupportedLaneCount,

Source§

type Output = Simd<T, N>

Source§

impl<T: Clone + Add<Output = T>> Add for VecVector<T>

Available on crate feature alg only.
Source§

impl<T: Clone + Add<Output = T>, const D: usize> Add for Vector<T, D>

Available on crate feature alg only.
Source§

type Output = Vector<T, D>

Source§

impl<const N: usize> Add for Simd<f32, N>

Source§

impl<const N: usize> Add for Simd<f64, N>

Source§

impl<const N: usize> Add for Simd<i8, N>

Source§

impl<const N: usize> Add for Simd<i16, N>

Source§

impl<const N: usize> Add for Simd<i32, N>

Source§

impl<const N: usize> Add for Simd<i64, N>

Source§

impl<const N: usize> Add for Simd<isize, N>

Source§

impl<const N: usize> Add for Simd<u8, N>

Source§

impl<const N: usize> Add for Simd<u16, N>

Source§

impl<const N: usize> Add for Simd<u32, N>

Source§

impl<const N: usize> Add for Simd<u64, N>

Source§

impl<const N: usize> Add for Simd<usize, N>