devela::all

Trait Sub

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

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

core The subtraction operator -.

Re-exported from core::ops:: .


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

Required Associated Types§

1.0.0 · Source

type Output

The resulting type after applying the - operator.

Required Methods§

1.0.0 · Source

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

Performs the - operation.

§Example
assert_eq!(12 - 1, 11);

Implementors§

Source§

impl Sub for &JsValue

1.0.0 · Source§

impl Sub for f16

1.0.0 · Source§

impl Sub for f32

1.0.0 · Source§

impl Sub for f64

1.0.0 · Source§

impl Sub for f128

1.0.0 · Source§

impl Sub for i8

1.0.0 · Source§

impl Sub for i16

1.0.0 · Source§

impl Sub for i32

1.0.0 · Source§

impl Sub for i64

1.0.0 · Source§

impl Sub for i128

1.0.0 · Source§

impl Sub for isize

1.0.0 · Source§

impl Sub for u8

1.0.0 · Source§

impl Sub for u16

1.0.0 · Source§

impl Sub for u32

1.0.0 · Source§

impl Sub for u64

1.0.0 · Source§

impl Sub for u128

1.0.0 · Source§

impl Sub for usize

Source§

impl Sub for Assume

§

impl Sub for KeyEventState

§

impl Sub for KeyModifiers

§

impl Sub for KeyboardEnhancementFlags

§

impl Sub for Date

Computes the span of time between two dates.

This will return a negative span when the date being subtracted is greater.

Since this uses the default configuration for calculating a span between two date (no rounding and largest units is days), this will never panic or fail in any way.

To configure the largest unit or enable rounding, use Date::since.

§

type Output = Span

§

impl Sub for DateTime

Computes the span of time between two datetimes.

This will return a negative span when the datetime being subtracted is greater.

Since this uses the default configuration for calculating a span between two datetimes (no rounding and largest units is days), this will never panic or fail in any way.

To configure the largest unit or enable rounding, use DateTime::since.

If you need a SignedDuration representing the span between two civil datetimes, then use DateTime::duration_since.

§

type Output = Span

§

impl Sub for Time

Computes the span of time between two times.

This will return a negative span when the time being subtracted is greater.

Since this uses the default configuration for calculating a span between two times (no rounding and largest units is hours), this will never panic or fail in any way.

To configure the largest unit or enable rounding, use Time::since.

§

type Output = Span

§

impl Sub for SignedDuration

§

impl Sub for Timestamp

Computes the span of time between two timestamps.

This will return a negative span when the timestamp being subtracted is greater.

Since this uses the default configuration for calculating a span between two timestamps (no rounding and largest units is seconds), this will never panic or fail in any way.

To configure the largest unit or enable rounding, use Timestamp::since.

§

type Output = Span

§

impl Sub for Offset

Computes the span of time between two offsets.

This will return a negative span when the offset being subtracted is greater (i.e., more east with respect to the prime meridian).

§

type Output = Span

Source§

impl Sub for BigInt

Source§

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

Source§

impl Sub for Number

Source§

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

§

impl Sub for Decibels

§

impl Sub for Frame

§

impl Sub for Mix

§

type Output = Mix

§

impl Sub for Panning

§

impl Sub for PlaybackRate

§

impl Sub for Semitones

§

impl Sub for f32_be

§

type Output = f32

§

impl Sub for f32_le

§

type Output = f32

§

impl Sub for f64_be

§

type Output = f64

§

impl Sub for f64_le

§

type Output = f64

§

impl Sub for i16_be

§

type Output = i16

§

impl Sub for i16_le

§

type Output = i16

§

impl Sub for i32_be

§

type Output = i32

§

impl Sub for i32_le

§

type Output = i32

§

impl Sub for i64_be

§

type Output = i64

§

impl Sub for i64_le

§

type Output = i64

§

impl Sub for i128_be

§

type Output = i128

§

impl Sub for i128_le

§

type Output = i128

§

impl Sub for u16_be

§

type Output = u16

§

impl Sub for u16_le

§

type Output = u16

§

impl Sub for u32_be

§

type Output = u32

§

impl Sub for u32_le

§

type Output = u32

§

impl Sub for u64_be

§

type Output = u64

§

impl Sub for u64_le

§

type Output = u64

§

impl Sub for u128_be

§

type Output = u128

§

impl Sub for u128_le

§

type Output = u128

§

impl Sub for f32_ube

§

type Output = f32

§

impl Sub for f32_ule

§

type Output = f32

§

impl Sub for f64_ube

§

type Output = f64

§

impl Sub for f64_ule

§

type Output = f64

§

impl Sub for i16_ube

§

type Output = i16

§

impl Sub for i16_ule

§

type Output = i16

§

impl Sub for i32_ube

§

type Output = i32

§

impl Sub for i32_ule

§

type Output = i32

§

impl Sub for i64_ube

§

type Output = i64

§

impl Sub for i64_ule

§

type Output = i64

§

impl Sub for i128_ube

§

type Output = i128

§

impl Sub for i128_ule

§

type Output = i128

§

impl Sub for u16_ube

§

type Output = u16

§

impl Sub for u16_ule

§

type Output = u16

§

impl Sub for u32_ube

§

type Output = u32

§

impl Sub for u32_ule

§

type Output = u32

§

impl Sub for u64_ube

§

type Output = u64

§

impl Sub for u64_ule

§

type Output = u64

§

impl Sub for u128_ube

§

type Output = u128

§

impl Sub for u128_ule

§

type Output = u128

§

impl Sub for I24

§

type Output = I24

§

impl Sub for I48

§

type Output = I48

§

impl Sub for U24

§

type Output = U24

§

impl Sub for U48

§

type Output = U48

§

impl Sub for devela::_dep::rustix::event::epoll::CreateFlags

§

impl Sub for EventfdFlags

§

impl Sub for PollFlags

§

impl Sub for devela::_dep::rustix::fs::inotify::CreateFlags

§

impl Sub for ReadFlags

§

impl Sub for WatchFlags

§

impl Sub for Access

§

impl Sub for AtFlags

§

impl Sub for FallocateFlags

§

impl Sub for FdFlags

§

impl Sub for IFlags

§

impl Sub for MemfdFlags

§

impl Sub for Mode

§

type Output = Mode

§

impl Sub for MountFlags

§

impl Sub for MountPropagationFlags

§

impl Sub for OFlags

§

impl Sub for RenameFlags

§

impl Sub for ResolveFlags

§

impl Sub for SealFlags

§

impl Sub for StatVfsMountFlags

§

impl Sub for StatxFlags

§

impl Sub for UnmountFlags

§

impl Sub for XattrFlags

§

impl Sub for DupFlags

§

impl Sub for ReadWriteFlags

§

impl Sub for EventFlags

§

impl Sub for IoringAcceptFlags

§

impl Sub for IoringAsyncCancelFlags

§

impl Sub for IoringCqFlags

§

impl Sub for IoringCqeFlags

§

impl Sub for IoringEnterFlags

§

impl Sub for IoringFeatureFlags

§

impl Sub for IoringFsyncFlags

§

impl Sub for IoringMsgringFlags

§

impl Sub for IoringOpFlags

§

impl Sub for IoringPollFlags

§

impl Sub for IoringRecvFlags

§

impl Sub for IoringRegisterFlags

§

impl Sub for IoringRsrcFlags

§

impl Sub for IoringSendFlags

§

impl Sub for IoringSetupFlags

§

impl Sub for IoringSqFlags

§

impl Sub for IoringSqeFlags

§

impl Sub for IoringTimeoutFlags

§

impl Sub for RecvFlags

§

impl Sub for RecvmsgOutFlags

§

impl Sub for SendFlags

§

impl Sub for SocketFlags

§

impl Sub for devela::_dep::rustix::io_uring::SpliceFlags

§

impl Sub for MapFlags

§

impl Sub for MlockAllFlags

§

impl Sub for MlockFlags

§

impl Sub for MprotectFlags

§

impl Sub for MremapFlags

§

impl Sub for MsyncFlags

§

impl Sub for ProtFlags

§

impl Sub for UserfaultfdFlags

§

impl Sub for FsMountFlags

§

impl Sub for FsOpenFlags

§

impl Sub for FsPickFlags

§

impl Sub for MountAttrFlags

§

impl Sub for MoveMountFlags

§

impl Sub for OpenTreeFlags

§

impl Sub for SockaddrXdpFlags

§

impl Sub for XdpDescOptions

§

impl Sub for XdpOptionsFlags

§

impl Sub for XdpRingFlags

§

impl Sub for XdpUmemRegFlags

§

impl Sub for PipeFlags

§

impl Sub for devela::_dep::rustix::pipe::SpliceFlags

§

impl Sub for FloatingPointEmulationControl

§

impl Sub for FloatingPointExceptionMode

§

impl Sub for MembarrierQuery

§

impl Sub for PidfdFlags

§

impl Sub for PidfdGetfdFlags

§

impl Sub for SpeculationFeatureControl

§

impl Sub for SpeculationFeatureState

§

impl Sub for UnalignedAccessControl

§

impl Sub for WaitOptions

§

impl Sub for WaitidOptions

§

impl Sub for OpenptFlags

§

impl Sub for GetRandomFlags

§

impl Sub for ShmOFlags

§

impl Sub for ControlModes

§

impl Sub for InputModes

§

impl Sub for LocalModes

§

impl Sub for OutputModes

§

impl Sub for CapabilitiesSecureBits

§

impl Sub for CapabilityFlags

§

impl Sub for devela::_dep::rustix::thread::FutexFlags

§

impl Sub for TaggedAddressMode

§

impl Sub for ThreadNameSpaceType

§

impl Sub for UnshareFlags

§

impl Sub for TimerfdFlags

§

impl Sub for TimerfdTimerFlags

§

impl Sub for Channels

§

impl Sub for Complex

§

impl Sub for i24

§

type Output = i24

§

impl Sub for u24

§

type Output = u24

Source§

impl Sub for JsValue

Source§

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

§

impl Sub for f32x4

§

impl Sub for f32x8

§

impl Sub for f64x2

§

impl Sub for f64x4

§

impl Sub for i8x16

§

impl Sub for i8x32

§

impl Sub for i16x8

§

impl Sub for i16x16

§

impl Sub for i32x4

§

impl Sub for i32x8

§

impl Sub for i64x2

§

impl Sub for i64x4

§

impl Sub for u8x16

§

impl Sub for u16x8

§

impl Sub for u16x16

§

impl Sub for u32x4

§

impl Sub for u32x8

§

impl Sub for u64x2

§

impl Sub for u64x4

Source§

impl Sub for Float<f32>

Available on crate feature _float_f32 only.
Source§

impl Sub for Float<f64>

Available on crate feature _float_f64 only.
Source§

impl Sub for Int<i8>

Available on crate feature _int_i8 only.
Source§

impl Sub for Int<i16>

Available on crate feature _int_i16 only.
Source§

impl Sub for Int<i32>

Available on crate feature _int_i32 only.
Source§

impl Sub for Int<i64>

Available on crate feature _int_i64 only.
Source§

impl Sub for Int<i128>

Available on crate feature _int_i128 only.
Source§

impl Sub for Int<isize>

Available on crate feature _int_isize only.
Source§

impl Sub for Int<u8>

Available on crate feature _int_i8 only.
Source§

impl Sub for Int<u16>

Available on crate feature _int_u16 only.
Source§

impl Sub for Int<u32>

Available on crate feature _int_u32 only.
Source§

impl Sub for Int<u64>

Available on crate feature _int_u64 only.
Source§

impl Sub for Int<u128>

Available on crate feature _int_u128 only.
Source§

impl Sub for Int<usize>

Available on crate feature _int_usize only.
1.3.0 · Source§

impl Sub for Duration

1.8.0 · Source§

impl Sub for Instant

Source§

impl Sub for Mat3

Source§

impl Sub for Mat2

Source§

impl Sub for Mat3A

Source§

impl Sub for Mat4

Source§

impl Sub for Quat

Source§

impl Sub for Vec3A

Source§

impl Sub for Vec4

Source§

impl Sub for Vec2

Source§

impl Sub for Vec3

Source§

impl Sub for DMat2

Source§

impl Sub for DMat3

Source§

impl Sub for DMat4

Source§

impl Sub for DQuat

Source§

impl Sub for DVec2

Source§

impl Sub for DVec3

Source§

impl Sub for DVec4

Source§

impl Sub for I8Vec2

Source§

impl Sub for I8Vec3

Source§

impl Sub for I8Vec4

Source§

impl Sub for I16Vec2

Source§

impl Sub for I16Vec3

Source§

impl Sub for I16Vec4

Source§

impl Sub for IVec2

Source§

impl Sub for IVec3

Source§

impl Sub for IVec4

Source§

impl Sub for I64Vec2

Source§

impl Sub for I64Vec3

Source§

impl Sub for I64Vec4

Source§

impl Sub for U8Vec2

Source§

impl Sub for U8Vec3

Source§

impl Sub for U8Vec4

Source§

impl Sub for U16Vec2

Source§

impl Sub for U16Vec3

Source§

impl Sub for U16Vec4

Source§

impl Sub for UVec2

Source§

impl Sub for UVec3

Source§

impl Sub for UVec4

Source§

impl Sub for U64Vec2

Source§

impl Sub for U64Vec3

Source§

impl Sub for U64Vec4

1.74.0 · Source§

impl Sub for Saturating<i8>

1.74.0 · Source§

impl Sub for Saturating<i16>

1.74.0 · Source§

impl Sub for Saturating<i32>

1.74.0 · Source§

impl Sub for Saturating<i64>

1.74.0 · Source§

impl Sub for Saturating<i128>

1.74.0 · Source§

impl Sub for Saturating<isize>

1.74.0 · Source§

impl Sub for Saturating<u8>

1.74.0 · Source§

impl Sub for Saturating<u16>

1.74.0 · Source§

impl Sub for Saturating<u32>

1.74.0 · Source§

impl Sub for Saturating<u64>

1.74.0 · Source§

impl Sub for Saturating<u128>

1.74.0 · Source§

impl Sub for Saturating<usize>

1.0.0 · Source§

impl Sub for Wrapping<i8>

1.0.0 · Source§

impl Sub for Wrapping<i16>

1.0.0 · Source§

impl Sub for Wrapping<i32>

1.0.0 · Source§

impl Sub for Wrapping<i64>

1.0.0 · Source§

impl Sub for Wrapping<i128>

1.0.0 · Source§

impl Sub for Wrapping<isize>

1.0.0 · Source§

impl Sub for Wrapping<u8>

1.0.0 · Source§

impl Sub for Wrapping<u16>

1.0.0 · Source§

impl Sub for Wrapping<u32>

1.0.0 · Source§

impl Sub for Wrapping<u64>

1.0.0 · Source§

impl Sub for Wrapping<u128>

1.0.0 · Source§

impl Sub for Wrapping<usize>

§

impl Sub for m128

§

type Output = m128

§

impl Sub for m128d

§

impl Sub for Flags

§

type Output = Flags

§

impl Sub for I11

§

type Output = I11

§

impl Sub for I20

§

type Output = I20

§

impl Sub for MilliBel

§

type Output = MilliBel

§

impl Sub for PortCap

§

type Output = PortCap

§

impl Sub for PortType

§

type Output = PortType

§

impl Sub for Remove

§

type Output = Remove

§

impl Sub for U11

§

type Output = U11

§

impl Sub for U20

§

type Output = U20

1.0.0 · Source§

impl Sub<&f16> for &f16

1.0.0 · Source§

impl Sub<&f16> for f16

1.0.0 · Source§

impl Sub<&f32> for &f32

§

impl Sub<&f32> for &f32_be

§

type Output = f32

§

impl Sub<&f32> for &f32_le

§

type Output = f32

§

impl Sub<&f32> for &f32_ube

§

type Output = f32

§

impl Sub<&f32> for &f32_ule

§

type Output = f32

Source§

impl Sub<&f32> for &Vec3A

Source§

impl Sub<&f32> for &Vec4

Source§

impl Sub<&f32> for &Vec2

Source§

impl Sub<&f32> for &Vec3

1.0.0 · Source§

impl Sub<&f32> for f32

§

impl Sub<&f32> for f32_be

§

type Output = f32

§

impl Sub<&f32> for f32_le

§

type Output = f32

§

impl Sub<&f32> for f32_ube

§

type Output = f32

§

impl Sub<&f32> for f32_ule

§

type Output = f32

Source§

impl Sub<&f32> for Vec3A

Source§

impl Sub<&f32> for Vec4

Source§

impl Sub<&f32> for Vec2

Source§

impl Sub<&f32> for Vec3

1.0.0 · Source§

impl Sub<&f64> for &f64

§

impl Sub<&f64> for &f64_be

§

type Output = f64

§

impl Sub<&f64> for &f64_le

§

type Output = f64

§

impl Sub<&f64> for &f64_ube

§

type Output = f64

§

impl Sub<&f64> for &f64_ule

§

type Output = f64

Source§

impl Sub<&f64> for &DVec2

Source§

impl Sub<&f64> for &DVec3

Source§

impl Sub<&f64> for &DVec4

1.0.0 · Source§

impl Sub<&f64> for f64

§

impl Sub<&f64> for f64_be

§

type Output = f64

§

impl Sub<&f64> for f64_le

§

type Output = f64

§

impl Sub<&f64> for f64_ube

§

type Output = f64

§

impl Sub<&f64> for f64_ule

§

type Output = f64

Source§

impl Sub<&f64> for DVec2

Source§

impl Sub<&f64> for DVec3

Source§

impl Sub<&f64> for DVec4

1.0.0 · Source§

impl Sub<&f128> for &f128

1.0.0 · Source§

impl Sub<&f128> for f128

1.0.0 · Source§

impl Sub<&i8> for &i8

Source§

impl Sub<&i8> for &I8Vec2

Source§

impl Sub<&i8> for &I8Vec3

Source§

impl Sub<&i8> for &I8Vec4

1.0.0 · Source§

impl Sub<&i8> for i8

Source§

impl Sub<&i8> for I8Vec2

Source§

impl Sub<&i8> for I8Vec3

Source§

impl Sub<&i8> for I8Vec4

1.0.0 · Source§

impl Sub<&i16> for &i16

§

impl Sub<&i16> for &i16_be

§

type Output = i16

§

impl Sub<&i16> for &i16_le

§

type Output = i16

§

impl Sub<&i16> for &i16_ube

§

type Output = i16

§

impl Sub<&i16> for &i16_ule

§

type Output = i16

Source§

impl Sub<&i16> for &I16Vec2

Source§

impl Sub<&i16> for &I16Vec3

Source§

impl Sub<&i16> for &I16Vec4

1.0.0 · Source§

impl Sub<&i16> for i16

§

impl Sub<&i16> for i16_be

§

type Output = i16

§

impl Sub<&i16> for i16_le

§

type Output = i16

§

impl Sub<&i16> for i16_ube

§

type Output = i16

§

impl Sub<&i16> for i16_ule

§

type Output = i16

Source§

impl Sub<&i16> for I16Vec2

Source§

impl Sub<&i16> for I16Vec3

Source§

impl Sub<&i16> for I16Vec4

1.0.0 · Source§

impl Sub<&i32> for &i32

§

impl Sub<&i32> for &i32_be

§

type Output = i32

§

impl Sub<&i32> for &i32_le

§

type Output = i32

§

impl Sub<&i32> for &i32_ube

§

type Output = i32

§

impl Sub<&i32> for &i32_ule

§

type Output = i32

Source§

impl Sub<&i32> for &IVec2

Source§

impl Sub<&i32> for &IVec3

Source§

impl Sub<&i32> for &IVec4

1.0.0 · Source§

impl Sub<&i32> for i32

§

impl Sub<&i32> for i32_be

§

type Output = i32

§

impl Sub<&i32> for i32_le

§

type Output = i32

§

impl Sub<&i32> for i32_ube

§

type Output = i32

§

impl Sub<&i32> for i32_ule

§

type Output = i32

Source§

impl Sub<&i32> for IVec2

Source§

impl Sub<&i32> for IVec3

Source§

impl Sub<&i32> for IVec4

1.0.0 · Source§

impl Sub<&i64> for &i64

§

impl Sub<&i64> for &i64_be

§

type Output = i64

§

impl Sub<&i64> for &i64_le

§

type Output = i64

§

impl Sub<&i64> for &i64_ube

§

type Output = i64

§

impl Sub<&i64> for &i64_ule

§

type Output = i64

Source§

impl Sub<&i64> for &I64Vec2

Source§

impl Sub<&i64> for &I64Vec3

Source§

impl Sub<&i64> for &I64Vec4

1.0.0 · Source§

impl Sub<&i64> for i64

§

impl Sub<&i64> for i64_be

§

type Output = i64

§

impl Sub<&i64> for i64_le

§

type Output = i64

§

impl Sub<&i64> for i64_ube

§

type Output = i64

§

impl Sub<&i64> for i64_ule

§

type Output = i64

Source§

impl Sub<&i64> for I64Vec2

Source§

impl Sub<&i64> for I64Vec3

Source§

impl Sub<&i64> for I64Vec4

1.0.0 · Source§

impl Sub<&i128> for &i128

§

impl Sub<&i128> for &i128_be

§

type Output = i128

§

impl Sub<&i128> for &i128_le

§

type Output = i128

§

impl Sub<&i128> for &i128_ube

§

type Output = i128

§

impl Sub<&i128> for &i128_ule

§

type Output = i128

1.0.0 · Source§

impl Sub<&i128> for i128

§

impl Sub<&i128> for i128_be

§

type Output = i128

§

impl Sub<&i128> for i128_le

§

type Output = i128

§

impl Sub<&i128> for i128_ube

§

type Output = i128

§

impl Sub<&i128> for i128_ule

§

type Output = i128

1.0.0 · Source§

impl Sub<&isize> for &isize

1.0.0 · Source§

impl Sub<&isize> for isize

1.0.0 · Source§

impl Sub<&u8> for &u8

Source§

impl Sub<&u8> for &U8Vec2

Source§

impl Sub<&u8> for &U8Vec3

Source§

impl Sub<&u8> for &U8Vec4

1.0.0 · Source§

impl Sub<&u8> for u8

Source§

impl Sub<&u8> for U8Vec2

Source§

impl Sub<&u8> for U8Vec3

Source§

impl Sub<&u8> for U8Vec4

1.0.0 · Source§

impl Sub<&u16> for &u16

§

impl Sub<&u16> for &u16_be

§

type Output = u16

§

impl Sub<&u16> for &u16_le

§

type Output = u16

§

impl Sub<&u16> for &u16_ube

§

type Output = u16

§

impl Sub<&u16> for &u16_ule

§

type Output = u16

Source§

impl Sub<&u16> for &U16Vec2

Source§

impl Sub<&u16> for &U16Vec3

Source§

impl Sub<&u16> for &U16Vec4

1.0.0 · Source§

impl Sub<&u16> for u16

§

impl Sub<&u16> for u16_be

§

type Output = u16

§

impl Sub<&u16> for u16_le

§

type Output = u16

§

impl Sub<&u16> for u16_ube

§

type Output = u16

§

impl Sub<&u16> for u16_ule

§

type Output = u16

Source§

impl Sub<&u16> for U16Vec2

Source§

impl Sub<&u16> for U16Vec3

Source§

impl Sub<&u16> for U16Vec4

1.0.0 · Source§

impl Sub<&u32> for &u32

§

impl Sub<&u32> for &u32_be

§

type Output = u32

§

impl Sub<&u32> for &u32_le

§

type Output = u32

§

impl Sub<&u32> for &u32_ube

§

type Output = u32

§

impl Sub<&u32> for &u32_ule

§

type Output = u32

Source§

impl Sub<&u32> for &UVec2

Source§

impl Sub<&u32> for &UVec3

Source§

impl Sub<&u32> for &UVec4

1.0.0 · Source§

impl Sub<&u32> for u32

§

impl Sub<&u32> for u32_be

§

type Output = u32

§

impl Sub<&u32> for u32_le

§

type Output = u32

§

impl Sub<&u32> for u32_ube

§

type Output = u32

§

impl Sub<&u32> for u32_ule

§

type Output = u32

Source§

impl Sub<&u32> for UVec2

Source§

impl Sub<&u32> for UVec3

Source§

impl Sub<&u32> for UVec4

1.0.0 · Source§

impl Sub<&u64> for &u64

§

impl Sub<&u64> for &u64_be

§

type Output = u64

§

impl Sub<&u64> for &u64_le

§

type Output = u64

§

impl Sub<&u64> for &u64_ube

§

type Output = u64

§

impl Sub<&u64> for &u64_ule

§

type Output = u64

Source§

impl Sub<&u64> for &U64Vec2

Source§

impl Sub<&u64> for &U64Vec3

Source§

impl Sub<&u64> for &U64Vec4

1.0.0 · Source§

impl Sub<&u64> for u64

§

impl Sub<&u64> for u64_be

§

type Output = u64

§

impl Sub<&u64> for u64_le

§

type Output = u64

§

impl Sub<&u64> for u64_ube

§

type Output = u64

§

impl Sub<&u64> for u64_ule

§

type Output = u64

Source§

impl Sub<&u64> for U64Vec2

Source§

impl Sub<&u64> for U64Vec3

Source§

impl Sub<&u64> for U64Vec4

1.0.0 · Source§

impl Sub<&u128> for &u128

§

impl Sub<&u128> for &u128_be

§

type Output = u128

§

impl Sub<&u128> for &u128_le

§

type Output = u128

§

impl Sub<&u128> for &u128_ube

§

type Output = u128

§

impl Sub<&u128> for &u128_ule

§

type Output = u128

1.0.0 · Source§

impl Sub<&u128> for u128

§

impl Sub<&u128> for u128_be

§

type Output = u128

§

impl Sub<&u128> for u128_le

§

type Output = u128

§

impl Sub<&u128> for u128_ube

§

type Output = u128

§

impl Sub<&u128> for u128_ule

§

type Output = u128

1.0.0 · Source§

impl Sub<&usize> for &usize

1.0.0 · Source§

impl Sub<&usize> for usize

Source§

impl Sub<&BigInt> for &BigInt

Source§

impl Sub<&BigInt> for BigInt

Source§

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

Source§

impl Sub<&Number> for &Number

Source§

impl Sub<&Number> for Number

Source§

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

§

impl Sub<&f32_be> for &f32

§

type Output = f32

§

impl Sub<&f32_be> for &f32_be

§

type Output = f32

§

impl Sub<&f32_be> for f32

§

type Output = f32

§

impl Sub<&f32_be> for f32_be

§

type Output = f32

§

impl Sub<&f32_le> for &f32

§

type Output = f32

§

impl Sub<&f32_le> for &f32_le

§

type Output = f32

§

impl Sub<&f32_le> for f32

§

type Output = f32

§

impl Sub<&f32_le> for f32_le

§

type Output = f32

§

impl Sub<&f64_be> for &f64

§

type Output = f64

§

impl Sub<&f64_be> for &f64_be

§

type Output = f64

§

impl Sub<&f64_be> for f64

§

type Output = f64

§

impl Sub<&f64_be> for f64_be

§

type Output = f64

§

impl Sub<&f64_le> for &f64

§

type Output = f64

§

impl Sub<&f64_le> for &f64_le

§

type Output = f64

§

impl Sub<&f64_le> for f64

§

type Output = f64

§

impl Sub<&f64_le> for f64_le

§

type Output = f64

§

impl Sub<&i16_be> for &i16

§

type Output = i16

§

impl Sub<&i16_be> for &i16_be

§

type Output = i16

§

impl Sub<&i16_be> for i16

§

type Output = i16

§

impl Sub<&i16_be> for i16_be

§

type Output = i16

§

impl Sub<&i16_le> for &i16

§

type Output = i16

§

impl Sub<&i16_le> for &i16_le

§

type Output = i16

§

impl Sub<&i16_le> for i16

§

type Output = i16

§

impl Sub<&i16_le> for i16_le

§

type Output = i16

§

impl Sub<&i32_be> for &i32

§

type Output = i32

§

impl Sub<&i32_be> for &i32_be

§

type Output = i32

§

impl Sub<&i32_be> for i32

§

type Output = i32

§

impl Sub<&i32_be> for i32_be

§

type Output = i32

§

impl Sub<&i32_le> for &i32

§

type Output = i32

§

impl Sub<&i32_le> for &i32_le

§

type Output = i32

§

impl Sub<&i32_le> for i32

§

type Output = i32

§

impl Sub<&i32_le> for i32_le

§

type Output = i32

§

impl Sub<&i64_be> for &i64

§

type Output = i64

§

impl Sub<&i64_be> for &i64_be

§

type Output = i64

§

impl Sub<&i64_be> for i64

§

type Output = i64

§

impl Sub<&i64_be> for i64_be

§

type Output = i64

§

impl Sub<&i64_le> for &i64

§

type Output = i64

§

impl Sub<&i64_le> for &i64_le

§

type Output = i64

§

impl Sub<&i64_le> for i64

§

type Output = i64

§

impl Sub<&i64_le> for i64_le

§

type Output = i64

§

impl Sub<&i128_be> for &i128

§

type Output = i128

§

impl Sub<&i128_be> for &i128_be

§

type Output = i128

§

impl Sub<&i128_be> for i128

§

type Output = i128

§

impl Sub<&i128_be> for i128_be

§

type Output = i128

§

impl Sub<&i128_le> for &i128

§

type Output = i128

§

impl Sub<&i128_le> for &i128_le

§

type Output = i128

§

impl Sub<&i128_le> for i128

§

type Output = i128

§

impl Sub<&i128_le> for i128_le

§

type Output = i128

§

impl Sub<&u16_be> for &u16

§

type Output = u16

§

impl Sub<&u16_be> for &u16_be

§

type Output = u16

§

impl Sub<&u16_be> for u16

§

type Output = u16

§

impl Sub<&u16_be> for u16_be

§

type Output = u16

§

impl Sub<&u16_le> for &u16

§

type Output = u16

§

impl Sub<&u16_le> for &u16_le

§

type Output = u16

§

impl Sub<&u16_le> for u16

§

type Output = u16

§

impl Sub<&u16_le> for u16_le

§

type Output = u16

§

impl Sub<&u32_be> for &u32

§

type Output = u32

§

impl Sub<&u32_be> for &u32_be

§

type Output = u32

§

impl Sub<&u32_be> for u32

§

type Output = u32

§

impl Sub<&u32_be> for u32_be

§

type Output = u32

§

impl Sub<&u32_le> for &u32

§

type Output = u32

§

impl Sub<&u32_le> for &u32_le

§

type Output = u32

§

impl Sub<&u32_le> for u32

§

type Output = u32

§

impl Sub<&u32_le> for u32_le

§

type Output = u32

§

impl Sub<&u64_be> for &u64

§

type Output = u64

§

impl Sub<&u64_be> for &u64_be

§

type Output = u64

§

impl Sub<&u64_be> for u64

§

type Output = u64

§

impl Sub<&u64_be> for u64_be

§

type Output = u64

§

impl Sub<&u64_le> for &u64

§

type Output = u64

§

impl Sub<&u64_le> for &u64_le

§

type Output = u64

§

impl Sub<&u64_le> for u64

§

type Output = u64

§

impl Sub<&u64_le> for u64_le

§

type Output = u64

§

impl Sub<&u128_be> for &u128

§

type Output = u128

§

impl Sub<&u128_be> for &u128_be

§

type Output = u128

§

impl Sub<&u128_be> for u128

§

type Output = u128

§

impl Sub<&u128_be> for u128_be

§

type Output = u128

§

impl Sub<&u128_le> for &u128

§

type Output = u128

§

impl Sub<&u128_le> for &u128_le

§

type Output = u128

§

impl Sub<&u128_le> for u128

§

type Output = u128

§

impl Sub<&u128_le> for u128_le

§

type Output = u128

§

impl Sub<&f32_ube> for &f32

§

type Output = f32

§

impl Sub<&f32_ube> for &f32_ube

§

type Output = f32

§

impl Sub<&f32_ube> for f32

§

type Output = f32

§

impl Sub<&f32_ube> for f32_ube

§

type Output = f32

§

impl Sub<&f32_ule> for &f32

§

type Output = f32

§

impl Sub<&f32_ule> for &f32_ule

§

type Output = f32

§

impl Sub<&f32_ule> for f32

§

type Output = f32

§

impl Sub<&f32_ule> for f32_ule

§

type Output = f32

§

impl Sub<&f64_ube> for &f64

§

type Output = f64

§

impl Sub<&f64_ube> for &f64_ube

§

type Output = f64

§

impl Sub<&f64_ube> for f64

§

type Output = f64

§

impl Sub<&f64_ube> for f64_ube

§

type Output = f64

§

impl Sub<&f64_ule> for &f64

§

type Output = f64

§

impl Sub<&f64_ule> for &f64_ule

§

type Output = f64

§

impl Sub<&f64_ule> for f64

§

type Output = f64

§

impl Sub<&f64_ule> for f64_ule

§

type Output = f64

§

impl Sub<&i16_ube> for &i16

§

type Output = i16

§

impl Sub<&i16_ube> for &i16_ube

§

type Output = i16

§

impl Sub<&i16_ube> for i16

§

type Output = i16

§

impl Sub<&i16_ube> for i16_ube

§

type Output = i16

§

impl Sub<&i16_ule> for &i16

§

type Output = i16

§

impl Sub<&i16_ule> for &i16_ule

§

type Output = i16

§

impl Sub<&i16_ule> for i16

§

type Output = i16

§

impl Sub<&i16_ule> for i16_ule

§

type Output = i16

§

impl Sub<&i32_ube> for &i32

§

type Output = i32

§

impl Sub<&i32_ube> for &i32_ube

§

type Output = i32

§

impl Sub<&i32_ube> for i32

§

type Output = i32

§

impl Sub<&i32_ube> for i32_ube

§

type Output = i32

§

impl Sub<&i32_ule> for &i32

§

type Output = i32

§

impl Sub<&i32_ule> for &i32_ule

§

type Output = i32

§

impl Sub<&i32_ule> for i32

§

type Output = i32

§

impl Sub<&i32_ule> for i32_ule

§

type Output = i32

§

impl Sub<&i64_ube> for &i64

§

type Output = i64

§

impl Sub<&i64_ube> for &i64_ube

§

type Output = i64

§

impl Sub<&i64_ube> for i64

§

type Output = i64

§

impl Sub<&i64_ube> for i64_ube

§

type Output = i64

§

impl Sub<&i64_ule> for &i64

§

type Output = i64

§

impl Sub<&i64_ule> for &i64_ule

§

type Output = i64

§

impl Sub<&i64_ule> for i64

§

type Output = i64

§

impl Sub<&i64_ule> for i64_ule

§

type Output = i64

§

impl Sub<&i128_ube> for &i128

§

type Output = i128

§

impl Sub<&i128_ube> for &i128_ube

§

type Output = i128

§

impl Sub<&i128_ube> for i128

§

type Output = i128

§

impl Sub<&i128_ube> for i128_ube

§

type Output = i128

§

impl Sub<&i128_ule> for &i128

§

type Output = i128

§

impl Sub<&i128_ule> for &i128_ule

§

type Output = i128

§

impl Sub<&i128_ule> for i128

§

type Output = i128

§

impl Sub<&i128_ule> for i128_ule

§

type Output = i128

§

impl Sub<&u16_ube> for &u16

§

type Output = u16

§

impl Sub<&u16_ube> for &u16_ube

§

type Output = u16

§

impl Sub<&u16_ube> for u16

§

type Output = u16

§

impl Sub<&u16_ube> for u16_ube

§

type Output = u16

§

impl Sub<&u16_ule> for &u16

§

type Output = u16

§

impl Sub<&u16_ule> for &u16_ule

§

type Output = u16

§

impl Sub<&u16_ule> for u16

§

type Output = u16

§

impl Sub<&u16_ule> for u16_ule

§

type Output = u16

§

impl Sub<&u32_ube> for &u32

§

type Output = u32

§

impl Sub<&u32_ube> for &u32_ube

§

type Output = u32

§

impl Sub<&u32_ube> for u32

§

type Output = u32

§

impl Sub<&u32_ube> for u32_ube

§

type Output = u32

§

impl Sub<&u32_ule> for &u32

§

type Output = u32

§

impl Sub<&u32_ule> for &u32_ule

§

type Output = u32

§

impl Sub<&u32_ule> for u32

§

type Output = u32

§

impl Sub<&u32_ule> for u32_ule

§

type Output = u32

§

impl Sub<&u64_ube> for &u64

§

type Output = u64

§

impl Sub<&u64_ube> for &u64_ube

§

type Output = u64

§

impl Sub<&u64_ube> for u64

§

type Output = u64

§

impl Sub<&u64_ube> for u64_ube

§

type Output = u64

§

impl Sub<&u64_ule> for &u64

§

type Output = u64

§

impl Sub<&u64_ule> for &u64_ule

§

type Output = u64

§

impl Sub<&u64_ule> for u64

§

type Output = u64

§

impl Sub<&u64_ule> for u64_ule

§

type Output = u64

§

impl Sub<&u128_ube> for &u128

§

type Output = u128

§

impl Sub<&u128_ube> for &u128_ube

§

type Output = u128

§

impl Sub<&u128_ube> for u128

§

type Output = u128

§

impl Sub<&u128_ube> for u128_ube

§

type Output = u128

§

impl Sub<&u128_ule> for &u128

§

type Output = u128

§

impl Sub<&u128_ule> for &u128_ule

§

type Output = u128

§

impl Sub<&u128_ule> for u128

§

type Output = u128

§

impl Sub<&u128_ule> for u128_ule

§

type Output = u128

Source§

impl Sub<&JsValue> for JsValue

Source§

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

§

impl Sub<&f32x4> for f32x4

§

impl Sub<&f32x8> for f32x8

§

impl Sub<&f64x2> for f64x2

§

impl Sub<&f64x4> for f64x4

§

impl Sub<&i8x16> for i8x16

§

impl Sub<&i8x32> for i8x32

§

impl Sub<&i16x8> for i16x8

§

impl Sub<&i16x16> for i16x16

§

impl Sub<&i32x4> for i32x4

§

impl Sub<&i32x8> for i32x8

§

impl Sub<&i64x2> for i64x2

§

impl Sub<&u8x16> for u8x16

§

impl Sub<&u16x8> for u16x8

§

impl Sub<&u16x16> for u16x16

§

impl Sub<&u32x4> for u32x4

§

impl Sub<&u32x8> for u32x8

§

impl Sub<&u64x2> for u64x2

§

impl Sub<&u64x4> for u64x4

Source§

impl Sub<&Vec3A> for &f32

Source§

impl Sub<&Vec3A> for &Vec3A

Source§

impl Sub<&Vec3A> for f32

Source§

impl Sub<&Vec3A> for Vec3A

Source§

impl Sub<&Vec4> for &f32

Source§

impl Sub<&Vec4> for &Vec4

Source§

impl Sub<&Vec4> for f32

Source§

impl Sub<&Vec4> for Vec4

Source§

impl Sub<&Vec2> for &f32

Source§

impl Sub<&Vec2> for &Vec2

Source§

impl Sub<&Vec2> for f32

Source§

impl Sub<&Vec2> for Vec2

Source§

impl Sub<&Vec3> for &f32

Source§

impl Sub<&Vec3> for &Vec3

Source§

impl Sub<&Vec3> for f32

Source§

impl Sub<&Vec3> for Vec3

Source§

impl Sub<&DVec2> for &f64

Source§

impl Sub<&DVec2> for &DVec2

Source§

impl Sub<&DVec2> for f64

Source§

impl Sub<&DVec2> for DVec2

Source§

impl Sub<&DVec3> for &f64

Source§

impl Sub<&DVec3> for &DVec3

Source§

impl Sub<&DVec3> for f64

Source§

impl Sub<&DVec3> for DVec3

Source§

impl Sub<&DVec4> for &f64

Source§

impl Sub<&DVec4> for &DVec4

Source§

impl Sub<&DVec4> for f64

Source§

impl Sub<&DVec4> for DVec4

Source§

impl Sub<&I8Vec2> for &i8

Source§

impl Sub<&I8Vec2> for &I8Vec2

Source§

impl Sub<&I8Vec2> for i8

Source§

impl Sub<&I8Vec2> for I8Vec2

Source§

impl Sub<&I8Vec3> for &i8

Source§

impl Sub<&I8Vec3> for &I8Vec3

Source§

impl Sub<&I8Vec3> for i8

Source§

impl Sub<&I8Vec3> for I8Vec3

Source§

impl Sub<&I8Vec4> for &i8

Source§

impl Sub<&I8Vec4> for &I8Vec4

Source§

impl Sub<&I8Vec4> for i8

Source§

impl Sub<&I8Vec4> for I8Vec4

Source§

impl Sub<&I16Vec2> for &i16

Source§

impl Sub<&I16Vec2> for &I16Vec2

Source§

impl Sub<&I16Vec2> for i16

Source§

impl Sub<&I16Vec2> for I16Vec2

Source§

impl Sub<&I16Vec3> for &i16

Source§

impl Sub<&I16Vec3> for &I16Vec3

Source§

impl Sub<&I16Vec3> for i16

Source§

impl Sub<&I16Vec3> for I16Vec3

Source§

impl Sub<&I16Vec4> for &i16

Source§

impl Sub<&I16Vec4> for &I16Vec4

Source§

impl Sub<&I16Vec4> for i16

Source§

impl Sub<&I16Vec4> for I16Vec4

Source§

impl Sub<&IVec2> for &i32

Source§

impl Sub<&IVec2> for &IVec2

Source§

impl Sub<&IVec2> for i32

Source§

impl Sub<&IVec2> for IVec2

Source§

impl Sub<&IVec3> for &i32

Source§

impl Sub<&IVec3> for &IVec3

Source§

impl Sub<&IVec3> for i32

Source§

impl Sub<&IVec3> for IVec3

Source§

impl Sub<&IVec4> for &i32

Source§

impl Sub<&IVec4> for &IVec4

Source§

impl Sub<&IVec4> for i32

Source§

impl Sub<&IVec4> for IVec4

Source§

impl Sub<&I64Vec2> for &i64

Source§

impl Sub<&I64Vec2> for &I64Vec2

Source§

impl Sub<&I64Vec2> for i64

Source§

impl Sub<&I64Vec2> for I64Vec2

Source§

impl Sub<&I64Vec3> for &i64

Source§

impl Sub<&I64Vec3> for &I64Vec3

Source§

impl Sub<&I64Vec3> for i64

Source§

impl Sub<&I64Vec3> for I64Vec3

Source§

impl Sub<&I64Vec4> for &i64

Source§

impl Sub<&I64Vec4> for &I64Vec4

Source§

impl Sub<&I64Vec4> for i64

Source§

impl Sub<&I64Vec4> for I64Vec4

Source§

impl Sub<&U8Vec2> for &u8

Source§

impl Sub<&U8Vec2> for &U8Vec2

Source§

impl Sub<&U8Vec2> for u8

Source§

impl Sub<&U8Vec2> for U8Vec2

Source§

impl Sub<&U8Vec3> for &u8

Source§

impl Sub<&U8Vec3> for &U8Vec3

Source§

impl Sub<&U8Vec3> for u8

Source§

impl Sub<&U8Vec3> for U8Vec3

Source§

impl Sub<&U8Vec4> for &u8

Source§

impl Sub<&U8Vec4> for &U8Vec4

Source§

impl Sub<&U8Vec4> for u8

Source§

impl Sub<&U8Vec4> for U8Vec4

Source§

impl Sub<&U16Vec2> for &u16

Source§

impl Sub<&U16Vec2> for &U16Vec2

Source§

impl Sub<&U16Vec2> for u16

Source§

impl Sub<&U16Vec2> for U16Vec2

Source§

impl Sub<&U16Vec3> for &u16

Source§

impl Sub<&U16Vec3> for &U16Vec3

Source§

impl Sub<&U16Vec3> for u16

Source§

impl Sub<&U16Vec3> for U16Vec3

Source§

impl Sub<&U16Vec4> for &u16

Source§

impl Sub<&U16Vec4> for &U16Vec4

Source§

impl Sub<&U16Vec4> for u16

Source§

impl Sub<&U16Vec4> for U16Vec4

Source§

impl Sub<&UVec2> for &u32

Source§

impl Sub<&UVec2> for &UVec2

Source§

impl Sub<&UVec2> for u32

Source§

impl Sub<&UVec2> for UVec2

Source§

impl Sub<&UVec3> for &u32

Source§

impl Sub<&UVec3> for &UVec3

Source§

impl Sub<&UVec3> for u32

Source§

impl Sub<&UVec3> for UVec3

Source§

impl Sub<&UVec4> for &u32

Source§

impl Sub<&UVec4> for &UVec4

Source§

impl Sub<&UVec4> for u32

Source§

impl Sub<&UVec4> for UVec4

Source§

impl Sub<&U64Vec2> for &u64

Source§

impl Sub<&U64Vec2> for &U64Vec2

Source§

impl Sub<&U64Vec2> for u64

Source§

impl Sub<&U64Vec2> for U64Vec2

Source§

impl Sub<&U64Vec3> for &u64

Source§

impl Sub<&U64Vec3> for &U64Vec3

Source§

impl Sub<&U64Vec3> for u64

Source§

impl Sub<&U64Vec3> for U64Vec3

Source§

impl Sub<&U64Vec4> for &u64

Source§

impl Sub<&U64Vec4> for &U64Vec4

Source§

impl Sub<&U64Vec4> for u64

Source§

impl Sub<&U64Vec4> for U64Vec4

1.74.0 · Source§

impl Sub<&Saturating<i8>> for &Saturating<i8>

1.74.0 · Source§

impl Sub<&Saturating<i8>> for Saturating<i8>

1.74.0 · Source§

impl Sub<&Saturating<i16>> for &Saturating<i16>

1.74.0 · Source§

impl Sub<&Saturating<i16>> for Saturating<i16>

1.74.0 · Source§

impl Sub<&Saturating<i32>> for &Saturating<i32>

1.74.0 · Source§

impl Sub<&Saturating<i32>> for Saturating<i32>

1.74.0 · Source§

impl Sub<&Saturating<i64>> for &Saturating<i64>

1.74.0 · Source§

impl Sub<&Saturating<i64>> for Saturating<i64>

1.74.0 · Source§

impl Sub<&Saturating<i128>> for &Saturating<i128>

1.74.0 · Source§

impl Sub<&Saturating<i128>> for Saturating<i128>

1.74.0 · Source§

impl Sub<&Saturating<isize>> for &Saturating<isize>

1.74.0 · Source§

impl Sub<&Saturating<isize>> for Saturating<isize>

1.74.0 · Source§

impl Sub<&Saturating<u8>> for &Saturating<u8>

1.74.0 · Source§

impl Sub<&Saturating<u8>> for Saturating<u8>

1.74.0 · Source§

impl Sub<&Saturating<u16>> for &Saturating<u16>

1.74.0 · Source§

impl Sub<&Saturating<u16>> for Saturating<u16>

1.74.0 · Source§

impl Sub<&Saturating<u32>> for &Saturating<u32>

1.74.0 · Source§

impl Sub<&Saturating<u32>> for Saturating<u32>

1.74.0 · Source§

impl Sub<&Saturating<u64>> for &Saturating<u64>

1.74.0 · Source§

impl Sub<&Saturating<u64>> for Saturating<u64>

1.74.0 · Source§

impl Sub<&Saturating<u128>> for &Saturating<u128>

1.74.0 · Source§

impl Sub<&Saturating<u128>> for Saturating<u128>

1.74.0 · Source§

impl Sub<&Saturating<usize>> for &Saturating<usize>

1.74.0 · Source§

impl Sub<&Saturating<usize>> for Saturating<usize>

1.14.0 · Source§

impl Sub<&Wrapping<i8>> for &Wrapping<i8>

1.14.0 · Source§

impl Sub<&Wrapping<i8>> for Wrapping<i8>

1.14.0 · Source§

impl Sub<&Wrapping<i16>> for &Wrapping<i16>

1.14.0 · Source§

impl Sub<&Wrapping<i16>> for Wrapping<i16>

1.14.0 · Source§

impl Sub<&Wrapping<i32>> for &Wrapping<i32>

1.14.0 · Source§

impl Sub<&Wrapping<i32>> for Wrapping<i32>

1.14.0 · Source§

impl Sub<&Wrapping<i64>> for &Wrapping<i64>

1.14.0 · Source§

impl Sub<&Wrapping<i64>> for Wrapping<i64>

1.14.0 · Source§

impl Sub<&Wrapping<i128>> for &Wrapping<i128>

1.14.0 · Source§

impl Sub<&Wrapping<i128>> for Wrapping<i128>

1.14.0 · Source§

impl Sub<&Wrapping<isize>> for &Wrapping<isize>

1.14.0 · Source§

impl Sub<&Wrapping<isize>> for Wrapping<isize>

1.14.0 · Source§

impl Sub<&Wrapping<u8>> for &Wrapping<u8>

1.14.0 · Source§

impl Sub<&Wrapping<u8>> for Wrapping<u8>

1.14.0 · Source§

impl Sub<&Wrapping<u16>> for &Wrapping<u16>

1.14.0 · Source§

impl Sub<&Wrapping<u16>> for Wrapping<u16>

1.14.0 · Source§

impl Sub<&Wrapping<u32>> for &Wrapping<u32>

1.14.0 · Source§

impl Sub<&Wrapping<u32>> for Wrapping<u32>

1.14.0 · Source§

impl Sub<&Wrapping<u64>> for &Wrapping<u64>

1.14.0 · Source§

impl Sub<&Wrapping<u64>> for Wrapping<u64>

1.14.0 · Source§

impl Sub<&Wrapping<u128>> for &Wrapping<u128>

1.14.0 · Source§

impl Sub<&Wrapping<u128>> for Wrapping<u128>

1.14.0 · Source§

impl Sub<&Wrapping<usize>> for &Wrapping<usize>

1.14.0 · Source§

impl Sub<&Wrapping<usize>> for Wrapping<usize>

§

impl Sub<f32> for &f32_be

§

type Output = f32

§

impl Sub<f32> for &f32_le

§

type Output = f32

§

impl Sub<f32> for &f32_ube

§

type Output = f32

§

impl Sub<f32> for &f32_ule

§

type Output = f32

Source§

impl Sub<f32> for &Vec3A

Source§

impl Sub<f32> for &Vec4

Source§

impl Sub<f32> for &Vec2

Source§

impl Sub<f32> for &Vec3

§

impl Sub<f32> for f32_be

§

type Output = f32

§

impl Sub<f32> for f32_le

§

type Output = f32

§

impl Sub<f32> for f32_ube

§

type Output = f32

§

impl Sub<f32> for f32_ule

§

type Output = f32

§

impl Sub<f32> for f32x4

§

impl Sub<f32> for f32x8

Source§

impl Sub<f32> for Float<f32>

Available on crate feature _float_f32 only.
Source§

impl Sub<f32> for Vec3A

Source§

impl Sub<f32> for Vec4

Source§

impl Sub<f32> for Vec2

Source§

impl Sub<f32> for Vec3

§

impl Sub<f64> for &f64_be

§

type Output = f64

§

impl Sub<f64> for &f64_le

§

type Output = f64

§

impl Sub<f64> for &f64_ube

§

type Output = f64

§

impl Sub<f64> for &f64_ule

§

type Output = f64

Source§

impl Sub<f64> for &DVec2

Source§

impl Sub<f64> for &DVec3

Source§

impl Sub<f64> for &DVec4

§

impl Sub<f64> for ClockTime

§

impl Sub<f64> for f64_be

§

type Output = f64

§

impl Sub<f64> for f64_le

§

type Output = f64

§

impl Sub<f64> for f64_ube

§

type Output = f64

§

impl Sub<f64> for f64_ule

§

type Output = f64

§

impl Sub<f64> for f64x2

§

impl Sub<f64> for f64x4

Source§

impl Sub<f64> for Float<f64>

Available on crate feature _float_f64 only.
Source§

impl Sub<f64> for DVec2

Source§

impl Sub<f64> for DVec3

Source§

impl Sub<f64> for DVec4

Source§

impl Sub<i8> for &I8Vec2

Source§

impl Sub<i8> for &I8Vec3

Source§

impl Sub<i8> for &I8Vec4

§

impl Sub<i8> for Weekday

§

impl Sub<i8> for i8x16

§

impl Sub<i8> for i8x32

Source§

impl Sub<i8> for Int<i8>

Available on crate feature _int_i8 only.
Source§

impl Sub<i8> for I8Vec2

Source§

impl Sub<i8> for I8Vec3

Source§

impl Sub<i8> for I8Vec4

§

impl Sub<i16> for &i16_be

§

type Output = i16

§

impl Sub<i16> for &i16_le

§

type Output = i16

§

impl Sub<i16> for &i16_ube

§

type Output = i16

§

impl Sub<i16> for &i16_ule

§

type Output = i16

Source§

impl Sub<i16> for &I16Vec2

Source§

impl Sub<i16> for &I16Vec3

Source§

impl Sub<i16> for &I16Vec4

§

impl Sub<i16> for Weekday

§

impl Sub<i16> for i16_be

§

type Output = i16

§

impl Sub<i16> for i16_le

§

type Output = i16

§

impl Sub<i16> for i16_ube

§

type Output = i16

§

impl Sub<i16> for i16_ule

§

type Output = i16

§

impl Sub<i16> for i16x8

§

impl Sub<i16> for i16x16

Source§

impl Sub<i16> for Int<i16>

Available on crate feature _int_i16 only.
Source§

impl Sub<i16> for I16Vec2

Source§

impl Sub<i16> for I16Vec3

Source§

impl Sub<i16> for I16Vec4

§

impl Sub<i32> for &i32_be

§

type Output = i32

§

impl Sub<i32> for &i32_le

§

type Output = i32

§

impl Sub<i32> for &i32_ube

§

type Output = i32

§

impl Sub<i32> for &i32_ule

§

type Output = i32

Source§

impl Sub<i32> for &IVec2

Source§

impl Sub<i32> for &IVec3

Source§

impl Sub<i32> for &IVec4

§

impl Sub<i32> for Weekday

§

impl Sub<i32> for i32_be

§

type Output = i32

§

impl Sub<i32> for i32_le

§

type Output = i32

§

impl Sub<i32> for i32_ube

§

type Output = i32

§

impl Sub<i32> for i32_ule

§

type Output = i32

§

impl Sub<i32> for i32x4

§

impl Sub<i32> for i32x8

Source§

impl Sub<i32> for Int<i32>

Available on crate feature _int_i32 only.
Source§

impl Sub<i32> for IVec2

Source§

impl Sub<i32> for IVec3

Source§

impl Sub<i32> for IVec4

§

impl Sub<i64> for &i64_be

§

type Output = i64

§

impl Sub<i64> for &i64_le

§

type Output = i64

§

impl Sub<i64> for &i64_ube

§

type Output = i64

§

impl Sub<i64> for &i64_ule

§

type Output = i64

Source§

impl Sub<i64> for &I64Vec2

Source§

impl Sub<i64> for &I64Vec3

Source§

impl Sub<i64> for &I64Vec4

§

impl Sub<i64> for Weekday

§

impl Sub<i64> for i64_be

§

type Output = i64

§

impl Sub<i64> for i64_le

§

type Output = i64

§

impl Sub<i64> for i64_ube

§

type Output = i64

§

impl Sub<i64> for i64_ule

§

type Output = i64

§

impl Sub<i64> for i64x2

§

impl Sub<i64> for i64x4

Source§

impl Sub<i64> for Int<i64>

Available on crate feature _int_i64 only.
Source§

impl Sub<i64> for I64Vec2

Source§

impl Sub<i64> for I64Vec3

Source§

impl Sub<i64> for I64Vec4

§

impl Sub<i128> for &i128_be

§

type Output = i128

§

impl Sub<i128> for &i128_le

§

type Output = i128

§

impl Sub<i128> for &i128_ube

§

type Output = i128

§

impl Sub<i128> for &i128_ule

§

type Output = i128

§

impl Sub<i128> for i128_be

§

type Output = i128

§

impl Sub<i128> for i128_le

§

type Output = i128

§

impl Sub<i128> for i128_ube

§

type Output = i128

§

impl Sub<i128> for i128_ule

§

type Output = i128

Source§

impl Sub<i128> for Int<i128>

Available on crate feature _int_i128 only.
Source§

impl Sub<isize> for Int<isize>

Available on crate feature _int_isize only.
Source§

impl Sub<u8> for &U8Vec2

Source§

impl Sub<u8> for &U8Vec3

Source§

impl Sub<u8> for &U8Vec4

§

impl Sub<u8> for u8x16

Source§

impl Sub<u8> for Int<u8>

Available on crate feature _int_i8 only.
Source§

impl Sub<u8> for U8Vec2

Source§

impl Sub<u8> for U8Vec3

Source§

impl Sub<u8> for U8Vec4

§

impl Sub<u16> for &u16_be

§

type Output = u16

§

impl Sub<u16> for &u16_le

§

type Output = u16

§

impl Sub<u16> for &u16_ube

§

type Output = u16

§

impl Sub<u16> for &u16_ule

§

type Output = u16

Source§

impl Sub<u16> for &U16Vec2

Source§

impl Sub<u16> for &U16Vec3

Source§

impl Sub<u16> for &U16Vec4

§

impl Sub<u16> for u16_be

§

type Output = u16

§

impl Sub<u16> for u16_le

§

type Output = u16

§

impl Sub<u16> for u16_ube

§

type Output = u16

§

impl Sub<u16> for u16_ule

§

type Output = u16

§

impl Sub<u16> for u16x8

§

impl Sub<u16> for u16x16

Source§

impl Sub<u16> for Int<u16>

Available on crate feature _int_u16 only.
Source§

impl Sub<u16> for U16Vec2

Source§

impl Sub<u16> for U16Vec3

Source§

impl Sub<u16> for U16Vec4

§

impl Sub<u32> for &u32_be

§

type Output = u32

§

impl Sub<u32> for &u32_le

§

type Output = u32

§

impl Sub<u32> for &u32_ube

§

type Output = u32

§

impl Sub<u32> for &u32_ule

§

type Output = u32

Source§

impl Sub<u32> for &UVec2

Source§

impl Sub<u32> for &UVec3

Source§

impl Sub<u32> for &UVec4

§

impl Sub<u32> for u32_be

§

type Output = u32

§

impl Sub<u32> for u32_le

§

type Output = u32

§

impl Sub<u32> for u32_ube

§

type Output = u32

§

impl Sub<u32> for u32_ule

§

type Output = u32

§

impl Sub<u32> for u32x4

Source§

impl Sub<u32> for Int<u32>

Available on crate feature _int_u32 only.
Source§

impl Sub<u32> for UVec2

Source§

impl Sub<u32> for UVec3

Source§

impl Sub<u32> for UVec4

§

impl Sub<u64> for &u64_be

§

type Output = u64

§

impl Sub<u64> for &u64_le

§

type Output = u64

§

impl Sub<u64> for &u64_ube

§

type Output = u64

§

impl Sub<u64> for &u64_ule

§

type Output = u64

Source§

impl Sub<u64> for &U64Vec2

Source§

impl Sub<u64> for &U64Vec3

Source§

impl Sub<u64> for &U64Vec4

§

impl Sub<u64> for ClockTime

§

impl Sub<u64> for u64_be

§

type Output = u64

§

impl Sub<u64> for u64_le

§

type Output = u64

§

impl Sub<u64> for u64_ube

§

type Output = u64

§

impl Sub<u64> for u64_ule

§

type Output = u64

§

impl Sub<u64> for u64x2

§

impl Sub<u64> for u64x4

Source§

impl Sub<u64> for Int<u64>

Available on crate feature _int_u64 only.
Source§

impl Sub<u64> for U64Vec2

Source§

impl Sub<u64> for U64Vec3

Source§

impl Sub<u64> for U64Vec4

§

impl Sub<u128> for &u128_be

§

type Output = u128

§

impl Sub<u128> for &u128_le

§

type Output = u128

§

impl Sub<u128> for &u128_ube

§

type Output = u128

§

impl Sub<u128> for &u128_ule

§

type Output = u128

§

impl Sub<u128> for u128_be

§

type Output = u128

§

impl Sub<u128> for u128_le

§

type Output = u128

§

impl Sub<u128> for u128_ube

§

type Output = u128

§

impl Sub<u128> for u128_ule

§

type Output = u128

Source§

impl Sub<u128> for Int<u128>

Available on crate feature _int_u128 only.
Source§

impl Sub<usize> for Int<usize>

Available on crate feature _int_usize only.
§

impl Sub<SignedDuration> for Date

Subtracts a signed duration of time from a date.

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

§

type Output = Date

§

impl Sub<SignedDuration> for DateTime

Subtracts a signed duration of time from a datetime.

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

§

impl Sub<SignedDuration> for Time

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

For checked arithmetic, see Time::checked_sub.

§

type Output = Time

§

impl Sub<SignedDuration> for Timestamp

Subtracts a signed duration of time from a timestamp.

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

§

impl Sub<SignedDuration> for Offset

Subtracts a signed duration of time from an offset. This panics on overflow.

For checked arithmetic, see Offset::checked_sub.

§

impl Sub<Span> for Date

Subtracts a span of time from a date.

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

§

type Output = Date

§

impl Sub<Span> for DateTime

Subtracts a span of time from a datetime.

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

§

impl Sub<Span> for Time

Subtracts a span of time. This uses wrapping arithmetic.

For checked arithmetic, see Time::checked_sub.

§

type Output = Time

§

impl Sub<Span> for Timestamp

Subtracts a span of time from a timestamp.

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

§

impl Sub<Span> for Offset

Subtracts a span of time from an offset. This panics on overflow.

For checked arithmetic, see Offset::checked_sub.

§

impl Sub<f32_be> for &f32

§

type Output = f32

§

impl Sub<f32_be> for &f32_be

§

type Output = f32

§

impl Sub<f32_be> for f32

§

type Output = f32

§

impl Sub<f32_le> for &f32

§

type Output = f32

§

impl Sub<f32_le> for &f32_le

§

type Output = f32

§

impl Sub<f32_le> for f32

§

type Output = f32

§

impl Sub<f64_be> for &f64

§

type Output = f64

§

impl Sub<f64_be> for &f64_be

§

type Output = f64

§

impl Sub<f64_be> for f64

§

type Output = f64

§

impl Sub<f64_le> for &f64

§

type Output = f64

§

impl Sub<f64_le> for &f64_le

§

type Output = f64

§

impl Sub<f64_le> for f64

§

type Output = f64

§

impl Sub<i16_be> for &i16

§

type Output = i16

§

impl Sub<i16_be> for &i16_be

§

type Output = i16

§

impl Sub<i16_be> for i16

§

type Output = i16

§

impl Sub<i16_le> for &i16

§

type Output = i16

§

impl Sub<i16_le> for &i16_le

§

type Output = i16

§

impl Sub<i16_le> for i16

§

type Output = i16

§

impl Sub<i32_be> for &i32

§

type Output = i32

§

impl Sub<i32_be> for &i32_be

§

type Output = i32

§

impl Sub<i32_be> for i32

§

type Output = i32

§

impl Sub<i32_le> for &i32

§

type Output = i32

§

impl Sub<i32_le> for &i32_le

§

type Output = i32

§

impl Sub<i32_le> for i32

§

type Output = i32

§

impl Sub<i64_be> for &i64

§

type Output = i64

§

impl Sub<i64_be> for &i64_be

§

type Output = i64

§

impl Sub<i64_be> for i64

§

type Output = i64

§

impl Sub<i64_le> for &i64

§

type Output = i64

§

impl Sub<i64_le> for &i64_le

§

type Output = i64

§

impl Sub<i64_le> for i64

§

type Output = i64

§

impl Sub<i128_be> for &i128

§

type Output = i128

§

impl Sub<i128_be> for &i128_be

§

type Output = i128

§

impl Sub<i128_be> for i128

§

type Output = i128

§

impl Sub<i128_le> for &i128

§

type Output = i128

§

impl Sub<i128_le> for &i128_le

§

type Output = i128

§

impl Sub<i128_le> for i128

§

type Output = i128

§

impl Sub<u16_be> for &u16

§

type Output = u16

§

impl Sub<u16_be> for &u16_be

§

type Output = u16

§

impl Sub<u16_be> for u16

§

type Output = u16

§

impl Sub<u16_le> for &u16

§

type Output = u16

§

impl Sub<u16_le> for &u16_le

§

type Output = u16

§

impl Sub<u16_le> for u16

§

type Output = u16

§

impl Sub<u32_be> for &u32

§

type Output = u32

§

impl Sub<u32_be> for &u32_be

§

type Output = u32

§

impl Sub<u32_be> for u32

§

type Output = u32

§

impl Sub<u32_le> for &u32

§

type Output = u32

§

impl Sub<u32_le> for &u32_le

§

type Output = u32

§

impl Sub<u32_le> for u32

§

type Output = u32

§

impl Sub<u64_be> for &u64

§

type Output = u64

§

impl Sub<u64_be> for &u64_be

§

type Output = u64

§

impl Sub<u64_be> for u64

§

type Output = u64

§

impl Sub<u64_le> for &u64

§

type Output = u64

§

impl Sub<u64_le> for &u64_le

§

type Output = u64

§

impl Sub<u64_le> for u64

§

type Output = u64

§

impl Sub<u128_be> for &u128

§

type Output = u128

§

impl Sub<u128_be> for &u128_be

§

type Output = u128

§

impl Sub<u128_be> for u128

§

type Output = u128

§

impl Sub<u128_le> for &u128

§

type Output = u128

§

impl Sub<u128_le> for &u128_le

§

type Output = u128

§

impl Sub<u128_le> for u128

§

type Output = u128

§

impl Sub<f32_ube> for &f32

§

type Output = f32

§

impl Sub<f32_ube> for &f32_ube

§

type Output = f32

§

impl Sub<f32_ube> for f32

§

type Output = f32

§

impl Sub<f32_ule> for &f32

§

type Output = f32

§

impl Sub<f32_ule> for &f32_ule

§

type Output = f32

§

impl Sub<f32_ule> for f32

§

type Output = f32

§

impl Sub<f64_ube> for &f64

§

type Output = f64

§

impl Sub<f64_ube> for &f64_ube

§

type Output = f64

§

impl Sub<f64_ube> for f64

§

type Output = f64

§

impl Sub<f64_ule> for &f64

§

type Output = f64

§

impl Sub<f64_ule> for &f64_ule

§

type Output = f64

§

impl Sub<f64_ule> for f64

§

type Output = f64

§

impl Sub<i16_ube> for &i16

§

type Output = i16

§

impl Sub<i16_ube> for &i16_ube

§

type Output = i16

§

impl Sub<i16_ube> for i16

§

type Output = i16

§

impl Sub<i16_ule> for &i16

§

type Output = i16

§

impl Sub<i16_ule> for &i16_ule

§

type Output = i16

§

impl Sub<i16_ule> for i16

§

type Output = i16

§

impl Sub<i32_ube> for &i32

§

type Output = i32

§

impl Sub<i32_ube> for &i32_ube

§

type Output = i32

§

impl Sub<i32_ube> for i32

§

type Output = i32

§

impl Sub<i32_ule> for &i32

§

type Output = i32

§

impl Sub<i32_ule> for &i32_ule

§

type Output = i32

§

impl Sub<i32_ule> for i32

§

type Output = i32

§

impl Sub<i64_ube> for &i64

§

type Output = i64

§

impl Sub<i64_ube> for &i64_ube

§

type Output = i64

§

impl Sub<i64_ube> for i64

§

type Output = i64

§

impl Sub<i64_ule> for &i64

§

type Output = i64

§

impl Sub<i64_ule> for &i64_ule

§

type Output = i64

§

impl Sub<i64_ule> for i64

§

type Output = i64

§

impl Sub<i128_ube> for &i128

§

type Output = i128

§

impl Sub<i128_ube> for &i128_ube

§

type Output = i128

§

impl Sub<i128_ube> for i128

§

type Output = i128

§

impl Sub<i128_ule> for &i128

§

type Output = i128

§

impl Sub<i128_ule> for &i128_ule

§

type Output = i128

§

impl Sub<i128_ule> for i128

§

type Output = i128

§

impl Sub<u16_ube> for &u16

§

type Output = u16

§

impl Sub<u16_ube> for &u16_ube

§

type Output = u16

§

impl Sub<u16_ube> for u16

§

type Output = u16

§

impl Sub<u16_ule> for &u16

§

type Output = u16

§

impl Sub<u16_ule> for &u16_ule

§

type Output = u16

§

impl Sub<u16_ule> for u16

§

type Output = u16

§

impl Sub<u32_ube> for &u32

§

type Output = u32

§

impl Sub<u32_ube> for &u32_ube

§

type Output = u32

§

impl Sub<u32_ube> for u32

§

type Output = u32

§

impl Sub<u32_ule> for &u32

§

type Output = u32

§

impl Sub<u32_ule> for &u32_ule

§

type Output = u32

§

impl Sub<u32_ule> for u32

§

type Output = u32

§

impl Sub<u64_ube> for &u64

§

type Output = u64

§

impl Sub<u64_ube> for &u64_ube

§

type Output = u64

§

impl Sub<u64_ube> for u64

§

type Output = u64

§

impl Sub<u64_ule> for &u64

§

type Output = u64

§

impl Sub<u64_ule> for &u64_ule

§

type Output = u64

§

impl Sub<u64_ule> for u64

§

type Output = u64

§

impl Sub<u128_ube> for &u128

§

type Output = u128

§

impl Sub<u128_ube> for &u128_ube

§

type Output = u128

§

impl Sub<u128_ube> for u128

§

type Output = u128

§

impl Sub<u128_ule> for &u128

§

type Output = u128

§

impl Sub<u128_ule> for &u128_ule

§

type Output = u128

§

impl Sub<u128_ule> for u128

§

type Output = u128

§

impl Sub<f32x4> for f32

§

impl Sub<f32x8> for f32

§

impl Sub<f64x2> for f64

§

impl Sub<f64x4> for f64

§

impl Sub<i8x16> for i8

§

impl Sub<i8x32> for i8

§

impl Sub<i16x8> for i16

§

impl Sub<i16x16> for i16

§

impl Sub<i32x4> for i32

§

impl Sub<i32x8> for i32

§

impl Sub<i64x2> for i64

§

impl Sub<i64x4> for i64

§

impl Sub<u8x16> for u8

§

impl Sub<u16x8> for u16

§

impl Sub<u16x16> for u16

§

impl Sub<u32x4> for u32

§

impl Sub<u64x2> for u64

§

impl Sub<u64x4> for u64

§

impl Sub<Duration> for Date

Subtracts an unsigned duration of time from a date.

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

§

type Output = Date

§

impl Sub<Duration> for DateTime

Subtracts an unsigned duration of time from a datetime.

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

§

impl Sub<Duration> for Time

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

For checked arithmetic, see Time::checked_sub.

§

type Output = Time

§

impl Sub<Duration> for Timestamp

Subtracts an unsigned duration of time from a timestamp.

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

§

impl Sub<Duration> for Offset

Subtracts an unsigned duration of time from an offset. This panics on overflow.

For checked arithmetic, see Offset::checked_sub.

1.8.0 · Source§

impl Sub<Duration> for Instant

1.8.0 · Source§

impl Sub<Duration> for SystemTime

Source§

impl Sub<Vec3A> for &f32

Source§

impl Sub<Vec3A> for &Vec3A

Source§

impl Sub<Vec3A> for f32

Source§

impl Sub<Vec4> for &f32

Source§

impl Sub<Vec4> for &Vec4

Source§

impl Sub<Vec4> for f32

Source§

impl Sub<Vec2> for &f32

Source§

impl Sub<Vec2> for &Vec2

Source§

impl Sub<Vec2> for f32

Source§

impl Sub<Vec3> for &f32

Source§

impl Sub<Vec3> for &Vec3

Source§

impl Sub<Vec3> for f32

Source§

impl Sub<DVec2> for &f64

Source§

impl Sub<DVec2> for &DVec2

Source§

impl Sub<DVec2> for f64

Source§

impl Sub<DVec3> for &f64

Source§

impl Sub<DVec3> for &DVec3

Source§

impl Sub<DVec3> for f64

Source§

impl Sub<DVec4> for &f64

Source§

impl Sub<DVec4> for &DVec4

Source§

impl Sub<DVec4> for f64

Source§

impl Sub<I8Vec2> for &i8

Source§

impl Sub<I8Vec2> for &I8Vec2

Source§

impl Sub<I8Vec2> for i8

Source§

impl Sub<I8Vec3> for &i8

Source§

impl Sub<I8Vec3> for &I8Vec3

Source§

impl Sub<I8Vec3> for i8

Source§

impl Sub<I8Vec4> for &i8

Source§

impl Sub<I8Vec4> for &I8Vec4

Source§

impl Sub<I8Vec4> for i8

Source§

impl Sub<I16Vec2> for &i16

Source§

impl Sub<I16Vec2> for &I16Vec2

Source§

impl Sub<I16Vec2> for i16

Source§

impl Sub<I16Vec3> for &i16

Source§

impl Sub<I16Vec3> for &I16Vec3

Source§

impl Sub<I16Vec3> for i16

Source§

impl Sub<I16Vec4> for &i16

Source§

impl Sub<I16Vec4> for &I16Vec4

Source§

impl Sub<I16Vec4> for i16

Source§

impl Sub<IVec2> for &i32

Source§

impl Sub<IVec2> for &IVec2

Source§

impl Sub<IVec2> for i32

Source§

impl Sub<IVec3> for &i32

Source§

impl Sub<IVec3> for &IVec3

Source§

impl Sub<IVec3> for i32

Source§

impl Sub<IVec4> for &i32

Source§

impl Sub<IVec4> for &IVec4

Source§

impl Sub<IVec4> for i32

Source§

impl Sub<I64Vec2> for &i64

Source§

impl Sub<I64Vec2> for &I64Vec2

Source§

impl Sub<I64Vec2> for i64

Source§

impl Sub<I64Vec3> for &i64

Source§

impl Sub<I64Vec3> for &I64Vec3

Source§

impl Sub<I64Vec3> for i64

Source§

impl Sub<I64Vec4> for &i64

Source§

impl Sub<I64Vec4> for &I64Vec4

Source§

impl Sub<I64Vec4> for i64

Source§

impl Sub<U8Vec2> for &u8

Source§

impl Sub<U8Vec2> for &U8Vec2

Source§

impl Sub<U8Vec2> for u8

Source§

impl Sub<U8Vec3> for &u8

Source§

impl Sub<U8Vec3> for &U8Vec3

Source§

impl Sub<U8Vec3> for u8

Source§

impl Sub<U8Vec4> for &u8

Source§

impl Sub<U8Vec4> for &U8Vec4

Source§

impl Sub<U8Vec4> for u8

Source§

impl Sub<U16Vec2> for &u16

Source§

impl Sub<U16Vec2> for &U16Vec2

Source§

impl Sub<U16Vec2> for u16

Source§

impl Sub<U16Vec3> for &u16

Source§

impl Sub<U16Vec3> for &U16Vec3

Source§

impl Sub<U16Vec3> for u16

Source§

impl Sub<U16Vec4> for &u16

Source§

impl Sub<U16Vec4> for &U16Vec4

Source§

impl Sub<U16Vec4> for u16

Source§

impl Sub<UVec2> for &u32

Source§

impl Sub<UVec2> for &UVec2

Source§

impl Sub<UVec2> for u32

Source§

impl Sub<UVec3> for &u32

Source§

impl Sub<UVec3> for &UVec3

Source§

impl Sub<UVec3> for u32

Source§

impl Sub<UVec4> for &u32

Source§

impl Sub<UVec4> for &UVec4

Source§

impl Sub<UVec4> for u32

Source§

impl Sub<U64Vec2> for &u64

Source§

impl Sub<U64Vec2> for &U64Vec2

Source§

impl Sub<U64Vec2> for u64

Source§

impl Sub<U64Vec3> for &u64

Source§

impl Sub<U64Vec3> for &U64Vec3

Source§

impl Sub<U64Vec3> for u64

Source§

impl Sub<U64Vec4> for &u64

Source§

impl Sub<U64Vec4> for &U64Vec4

Source§

impl Sub<U64Vec4> for u64

§

impl<'a> Sub for &'a Zoned

Computes the span of time between two zoned datetimes.

This will return a negative span when the zoned datetime being subtracted is greater.

Since this uses the default configuration for calculating a span between two zoned datetimes (no rounding and largest units is days), this will never panic or fail in any way.

To configure the largest unit or enable rounding, use Zoned::since.

§

type Output = Span

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

§

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

Subtracts a signed duration of time from a zoned datetime.

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

§

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

Subtracts a span of time from a zoned datetime.

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

§

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

Subtracts an unsigned duration of time from a zoned datetime.

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

1.74.0 · Source§

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

1.74.0 · Source§

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

1.74.0 · Source§

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

1.74.0 · Source§

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

1.74.0 · Source§

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

1.74.0 · Source§

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

1.74.0 · Source§

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

1.74.0 · Source§

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

1.74.0 · Source§

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

1.74.0 · Source§

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

1.74.0 · Source§

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

1.74.0 · Source§

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

1.14.0 · Source§

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

1.14.0 · Source§

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

1.14.0 · Source§

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

1.14.0 · Source§

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

1.14.0 · Source§

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

1.14.0 · Source§

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

1.14.0 · Source§

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

1.14.0 · Source§

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

1.14.0 · Source§

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

1.14.0 · Source§

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

1.14.0 · Source§

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

1.14.0 · Source§

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

Source§

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

Source§

type Output = Simd<T, N>

Source§

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

Available on crate feature _float_f32 only.
Source§

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

Available on crate feature _float_f64 only.
Source§

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

Available on crate feature _int_i8 only.
Source§

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

Available on crate feature _int_i16 only.
Source§

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

Available on crate feature _int_i32 only.
Source§

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

Available on crate feature _int_i64 only.
Source§

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

Available on crate feature _int_i128 only.
Source§

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

Available on crate feature _int_isize only.
Source§

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

Available on crate feature _int_i8 only.
Source§

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

Available on crate feature _int_u16 only.
Source§

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

Available on crate feature _int_u32 only.
Source§

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

Available on crate feature _int_u64 only.
Source§

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

Available on crate feature _int_u128 only.
Source§

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

Available on crate feature _int_usize only.
Source§

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

Available on crate feature _float_f32 only.
Source§

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

Available on crate feature _float_f64 only.
Source§

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

Available on crate feature _int_i8 only.
Source§

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

Available on crate feature _int_i16 only.
Source§

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

Available on crate feature _int_i32 only.
Source§

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

Available on crate feature _int_i64 only.
Source§

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

Available on crate feature _int_i128 only.
Source§

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

Available on crate feature _int_isize only.
Source§

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

Available on crate feature _int_i8 only.
Source§

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

Available on crate feature _int_u16 only.
Source§

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

Available on crate feature _int_u32 only.
Source§

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

Available on crate feature _int_u64 only.
Source§

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

Available on crate feature _int_u128 only.
Source§

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

Available on crate feature _int_usize only.
§

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

§

type Output = Bound<'py, PyComplex>

§

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

§

type Output = Bound<'py, PyComplex>

§

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

§

type Output = Bound<'py, PyComplex>

§

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

§

type Output = Bound<'py, PyComplex>

§

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

§

type Output = Bound<'py, PyComplex>

Source§

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

Available on crate feature _float_f32 only.
Source§

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

Available on crate feature _float_f64 only.
Source§

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

Available on crate feature _int_i8 only.
Source§

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

Available on crate feature _int_i16 only.
Source§

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

Available on crate feature _int_i32 only.
Source§

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

Available on crate feature _int_i64 only.
Source§

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

Available on crate feature _int_i128 only.
Source§

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

Available on crate feature _int_isize only.
Source§

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

Available on crate feature _int_i8 only.
Source§

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

Available on crate feature _int_u16 only.
Source§

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

Available on crate feature _int_u32 only.
Source§

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

Available on crate feature _int_u64 only.
Source§

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

Available on crate feature _int_u128 only.
Source§

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

Available on crate feature _int_usize only.
Source§

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

Available on crate feature _float_f32 only.
Source§

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

Available on crate feature _float_f64 only.
Source§

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

Available on crate feature _int_i8 only.
Source§

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

Available on crate feature _int_i16 only.
Source§

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

Available on crate feature _int_i32 only.
Source§

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

Available on crate feature _int_i64 only.
Source§

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

Available on crate feature _int_i128 only.
Source§

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

Available on crate feature _int_isize only.
Source§

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

Available on crate feature _int_i8 only.
Source§

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

Available on crate feature _int_u16 only.
Source§

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

Available on crate feature _int_u32 only.
Source§

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

Available on crate feature _int_u64 only.
Source§

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

Available on crate feature _int_u128 only.
Source§

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

Available on crate feature _int_usize only.
Source§

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

Available on crate feature _float_f32 only.
Source§

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

Available on crate feature _float_f64 only.
Source§

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

Available on crate feature _int_i8 only.
Source§

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

Available on crate feature _int_i16 only.
Source§

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

Available on crate feature _int_i32 only.
Source§

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

Available on crate feature _int_i64 only.
Source§

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

Available on crate feature _int_i128 only.
Source§

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

Available on crate feature _int_isize only.
Source§

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

Available on crate feature _int_i8 only.
Source§

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

Available on crate feature _int_u16 only.
Source§

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

Available on crate feature _int_u32 only.
Source§

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

Available on crate feature _int_u64 only.
Source§

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

Available on crate feature _int_u128 only.
Source§

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

Available on crate feature _int_usize only.
Source§

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

Available on crate feature _float_f32 only.
Source§

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

Available on crate feature _float_f64 only.
Source§

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

Available on crate feature _int_i8 only.
Source§

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

Available on crate feature _int_i16 only.
Source§

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

Available on crate feature _int_i32 only.
Source§

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

Available on crate feature _int_i64 only.
Source§

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

Available on crate feature _int_i128 only.
Source§

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

Available on crate feature _int_isize only.
Source§

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

Available on crate feature _int_i8 only.
Source§

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

Available on crate feature _int_u16 only.
Source§

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

Available on crate feature _int_u32 only.
Source§

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

Available on crate feature _int_u64 only.
Source§

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

Available on crate feature _int_u128 only.
Source§

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

Available on crate feature _int_usize only.
1.0.0 · Source§

impl<T, A> Sub<&BTreeSet<T, A>> for &BTreeSet<T, A>
where T: Ord + Clone, A: Allocator + Clone,

§

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

§

type Output = Value<T>

1.0.0 · Source§

impl<T, S> Sub<&HashSet<T, S>> for &devela::_dep::_std::collections::HashSet<T, S>
where T: Eq + Hash + Clone, S: BuildHasher + Default,

Source§

type Output = HashSet<T, S>

§

impl<T, S, A> Sub<&HashSet<T, S, A>> for &devela::all::HashSet<T, S, A>
where T: Eq + Hash + Clone, S: BuildHasher + Default, A: Allocator + Default,

§

type Output = HashSet<T, S, A>

Source§

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

Source§

type Output = Simd<T, N>

Source§

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

Source§

type Output = Simd<T, N>

Source§

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

Available on crate feature alg only.
Source§

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

Available on crate feature alg only.
Source§

type Output = Vector<T, D>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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