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

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

The subtraction operator -.

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

Examples

Subtractable points

use std::ops::Sub;

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

impl Sub for Point {
    type Output = Self;

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

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

Implementing Sub with generics

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

use std::ops::Sub;

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

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

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

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

Associated Types

type Output[src][]

The resulting type after applying the - operator.

Required methods

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

Performs the - operation.

Example

assert_eq!(12 - 1, 11);

Implementations on Foreign Types

impl Sub<Duration> for Instant[src]

impl Sub<Instant> for Instant[src]

impl Sub<Duration> for SystemTime[src]

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

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

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

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

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

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

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

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

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

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

impl Sub<u32> for u32[src]

impl Sub<i64> for i64[src]

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

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

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

impl Sub<i16> for i16[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

impl Sub<u64> for u64[src]

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

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

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

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

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

impl Sub<u128> for u128[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

impl Sub<f64> for f64[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

impl Sub<isize> for isize[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

impl Sub<i8> for i8[src]

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

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

impl Sub<i32> for i32[src]

impl Sub<u16> for u16[src]

impl Sub<f32> for f32[src]

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

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

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

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

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

impl Sub<u8> for u8[src]

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

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

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

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

impl Sub<i128> for i128[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

impl Sub<usize> for usize[src]

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

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

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

impl Sub<Duration> for Duration[src]

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

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

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

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

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

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

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

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

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

Implementors

impl<'_, '_, T> Sub<&'_ BTreeSet<T>> for &'_ BTreeSet<T> where
    T: Ord + Clone
[src]

type Output = BTreeSet<T>

pub fn sub(self, rhs: &BTreeSet<T>) -> BTreeSet<T>[src][]

Returns the difference of self and rhs as a new BTreeSet<T>.

Examples

use std::collections::BTreeSet;

let a: BTreeSet<_> = vec![1, 2, 3].into_iter().collect();
let b: BTreeSet<_> = vec![3, 4, 5].into_iter().collect();

let result = &a - &b;
let result_vec: Vec<_> = result.into_iter().collect();
assert_eq!(result_vec, [1, 2]);

impl<'_, '_, T, S> Sub<&'_ HashSet<T, S>> for &'_ HashSet<T, S> where
    T: Eq + Hash + Clone,
    S: BuildHasher + Default
[src]

type Output = HashSet<T, S>

pub fn sub(self, rhs: &HashSet<T, S>) -> HashSet<T, S>[src][]

Returns the difference of self and rhs as a new HashSet<T, S>.

Examples

use std::collections::HashSet;

let a: HashSet<_> = vec![1, 2, 3].into_iter().collect();
let b: HashSet<_> = vec![3, 4, 5].into_iter().collect();

let set = &a - &b;

let mut i = 0;
let expected = [1, 2];
for x in &set {
    assert!(expected.contains(x));
    i += 1;
}
assert_eq!(i, expected.len());

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

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

impl Sub<FixedOffset> for NaiveTime

impl Sub<FixedOffset> for NaiveDateTime

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

impl Sub<Duration> for NaiveDate

impl Sub<NaiveDate> for NaiveDate

impl Sub<Duration> for NaiveDateTime

impl Sub<NaiveDateTime> for NaiveDateTime

impl Sub<Duration> for NaiveTime

impl Sub<NaiveTime> for NaiveTime

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

impl<Tz: TimeZone> Sub<Date<Tz>> for Date<Tz>

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

impl<Tz: TimeZone> Sub<DateTime<Tz>> for DateTime<Tz>

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

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

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

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

impl Sub<Modifiers> for Modifiers

impl Sub<JoystickHats> for JoystickHats

impl Sub<MapReadFlags> for MapReadFlags

impl Sub<MapWriteFlags> for MapWriteFlags

impl Sub<MapReadWriteFlags> for MapReadWriteFlags

impl<T, S> Sub<&'_ HashSet<T, S>> for &HashSet<T, S> where
    T: Eq + Hash + Clone,
    S: BuildHasher + Default

impl<T, S1, S2> Sub<&'_ IndexSet<T, S2>> for &IndexSet<T, S1> where
    T: Eq + Hash + Clone,
    S1: BuildHasher + Default,
    S2: BuildHasher

impl Sub<FloatDuration> for FloatDuration

impl Sub<FloatInstant> for FloatInstant

impl Sub<Duration> for FloatInstant

impl Sub<usize> for Dynamic

impl<'b, N, R1, C1, R2, C2, SA, SB> Sub<&'b Matrix<N, R2, C2, SB>> for Matrix<N, R1, C1, SA> where
    R1: Dim,
    C1: Dim,
    R2: Dim,
    C2: Dim,
    N: Scalar + ClosedSub,
    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> Sub<Matrix<N, R2, C2, SB>> for &'a Matrix<N, R1, C1, SA> where
    R1: Dim,
    C1: Dim,
    R2: Dim,
    C2: Dim,
    N: Scalar + ClosedSub,
    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> Sub<Matrix<N, R2, C2, SB>> for Matrix<N, R1, C1, SA> where
    R1: Dim,
    C1: Dim,
    R2: Dim,
    C2: Dim,
    N: Scalar + ClosedSub,
    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> Sub<&'b Matrix<N, R2, C2, SB>> for &'a Matrix<N, R1, C1, SA> where
    R1: Dim,
    C1: Dim,
    R2: Dim,
    C2: Dim,
    N: Scalar + ClosedSub,
    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, D: DimName> Sub<&'b Point<N, D>> for &'a Point<N, D> where
    N: Scalar + ClosedSub,
    DefaultAllocator: Allocator<N, D, U1> + SameShapeAllocator<N, D, U1, D, U1>,
    ShapeConstraint: SameNumberOfRows<D, D> + SameNumberOfColumns<U1, U1>, 

impl<'a, N, D: DimName> Sub<Point<N, D>> for &'a Point<N, D> where
    N: Scalar + ClosedSub,
    DefaultAllocator: Allocator<N, D, U1> + SameShapeAllocator<N, D, U1, D, U1>,
    ShapeConstraint: SameNumberOfRows<D, D> + SameNumberOfColumns<U1, U1>, 

impl<'b, N, D: DimName> Sub<&'b Point<N, D>> for Point<N, D> where
    N: Scalar + ClosedSub,
    DefaultAllocator: Allocator<N, D, U1> + SameShapeAllocator<N, D, U1, D, U1>,
    ShapeConstraint: SameNumberOfRows<D, D> + SameNumberOfColumns<U1, U1>, 

impl<N, D: DimName> Sub<Point<N, D>> for Point<N, D> where
    N: Scalar + ClosedSub,
    DefaultAllocator: Allocator<N, D, U1> + SameShapeAllocator<N, D, U1, D, U1>,
    ShapeConstraint: SameNumberOfRows<D, D> + SameNumberOfColumns<U1, U1>, 

impl<'a, 'b, N, D1: DimName, D2: Dim, SB: Storage<N, D2>> Sub<&'b Matrix<N, D2, U1, SB>> for &'a Point<N, D1> where
    N: Scalar + ClosedSub,
    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>> Sub<Matrix<N, D2, U1, SB>> for &'a Point<N, D1> where
    N: Scalar + ClosedSub,
    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>> Sub<&'b Matrix<N, D2, U1, SB>> for Point<N, D1> where
    N: Scalar + ClosedSub,
    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>> Sub<Matrix<N, D2, U1, SB>> for Point<N, D1> where
    N: Scalar + ClosedSub,
    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> Sub<&'b Quaternion<N>> for &'a Quaternion<N> where
    N::Element: SimdRealField,
    DefaultAllocator: Allocator<N, U4, U1>, 

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

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

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

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

impl Sub<CollisionObjectUpdateFlags> for CollisionObjectUpdateFlags

impl<N: RealField> Sub<CSOPoint<N>> for CSOPoint<N>

impl Sub<HeightFieldCellStatus> for HeightFieldCellStatus

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

impl Sub<Complex<usize>> for usize

impl Sub<Complex<u8>> for u8

impl Sub<Complex<u16>> for u16

impl Sub<Complex<u32>> for u32

impl Sub<Complex<u64>> for u64

impl Sub<Complex<u128>> for u128

impl Sub<Complex<isize>> for isize

impl Sub<Complex<i8>> for i8

impl Sub<Complex<i16>> for i16

impl Sub<Complex<i32>> for i32

impl Sub<Complex<i64>> for i64

impl Sub<Complex<i128>> for i128

impl Sub<Complex<f32>> for f32

impl Sub<Complex<f64>> for f64

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

impl Sub<Transformations> for Transformations

impl Sub<RootMotionRemove> for RootMotionRemove

impl Sub<BoxFlags> for BoxFlags

impl Sub<TextureCreationFlags> for TextureCreationFlags

impl Sub<BoneFlags> for BoneFlags

impl<E: CLike> Sub<EnumSet<E>> for EnumSet<E>

impl Sub<KeyModifiers> for KeyModifiers

impl Sub<Flags> for Flags

impl Sub<Flags> for Flags

impl Sub<DriverTargetFlags> for DriverTargetFlags

impl Sub<DriverVarFlag> for DriverVarFlag

impl Sub<ArmatureDeformFlag> for ArmatureDeformFlag

impl Sub<Flag> for Flag

impl Sub<Flags> for Flags

impl Sub<BlockFlags> for BlockFlags

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

impl Sub<Duration> for Duration

impl Sub<Duration> for Timespec

impl Sub<Timespec> for Timespec

impl Sub<SteadyTime> for SteadyTime

impl Sub<Duration> for SteadyTime

impl Sub<Duration> for Tm

impl Sub<Tm> for Tm

impl Sub<Z0> for Z0

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

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

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

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

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

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

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

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

impl Sub<B0> for UTerm

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

impl<U: Unsigned, B: Bit> Sub<B1> for UInt<UInt<U, B>, B1>

impl Sub<B1> for UInt<UTerm, B1>

impl<U: Unsigned> Sub<B1> for UInt<U, B0> where
    U: Sub<B1>,
    Sub1<U>: Unsigned

impl Sub<UTerm> for UTerm

impl<Ul: Unsigned, Bl: Bit, Ur: Unsigned> Sub<Ur> for UInt<Ul, Bl> where
    UInt<Ul, Bl>: PrivateSub<Ur>,
    PrivateSubOut<UInt<Ul, Bl>, Ur>: Trim, 

impl Sub<ATerm> for ATerm

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