devela::all

Trait SubAssign

1.8.0 · Source
pub trait SubAssign<Rhs = Self> {
    // Required method
    fn sub_assign(&mut self, rhs: Rhs);
}
Expand description

core The subtraction assignment operator -=.

Re-exported from core::ops:: .


The subtraction assignment operator -=.

§Examples

This example creates a Point struct that implements the SubAssign trait, and then demonstrates sub-assigning to a mutable Point.

use std::ops::SubAssign;

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

impl SubAssign for Point {
    fn sub_assign(&mut self, other: Self) {
        *self = Self {
            x: self.x - other.x,
            y: self.y - other.y,
        };
    }
}

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

Required Methods§

1.8.0 · Source

fn sub_assign(&mut self, rhs: Rhs)

Performs the -= operation.

§Example
let mut x: u32 = 12;
x -= 1;
assert_eq!(x, 11);

Implementors§

1.8.0 · Source§

impl SubAssign for f16

1.8.0 · Source§

impl SubAssign for f32

1.8.0 · Source§

impl SubAssign for f64

1.8.0 · Source§

impl SubAssign for f128

1.8.0 · Source§

impl SubAssign for i8

1.8.0 · Source§

impl SubAssign for i16

1.8.0 · Source§

impl SubAssign for i32

1.8.0 · Source§

impl SubAssign for i64

1.8.0 · Source§

impl SubAssign for i128

1.8.0 · Source§

impl SubAssign for isize

1.8.0 · Source§

impl SubAssign for u8

1.8.0 · Source§

impl SubAssign for u16

1.8.0 · Source§

impl SubAssign for u32

1.8.0 · Source§

impl SubAssign for u64

1.8.0 · Source§

impl SubAssign for u128

1.8.0 · Source§

impl SubAssign for usize

§

impl SubAssign for KeyEventState

§

impl SubAssign for KeyModifiers

§

impl SubAssign for KeyboardEnhancementFlags

§

impl SubAssign for SignedDuration

§

impl SubAssign for Decibels

§

impl SubAssign for Frame

§

impl SubAssign for Mix

§

impl SubAssign for Panning

§

impl SubAssign for PlaybackRate

§

impl SubAssign for Semitones

§

impl SubAssign for f32_be

§

impl SubAssign for f32_le

§

impl SubAssign for f64_be

§

impl SubAssign for f64_le

§

impl SubAssign for i16_be

§

impl SubAssign for i16_le

§

impl SubAssign for i32_be

§

impl SubAssign for i32_le

§

impl SubAssign for i64_be

§

impl SubAssign for i64_le

§

impl SubAssign for i128_be

§

impl SubAssign for i128_le

§

impl SubAssign for u16_be

§

impl SubAssign for u16_le

§

impl SubAssign for u32_be

§

impl SubAssign for u32_le

§

impl SubAssign for u64_be

§

impl SubAssign for u64_le

§

impl SubAssign for u128_be

§

impl SubAssign for u128_le

§

impl SubAssign for f32_ube

§

impl SubAssign for f32_ule

§

impl SubAssign for f64_ube

§

impl SubAssign for f64_ule

§

impl SubAssign for i16_ube

§

impl SubAssign for i16_ule

§

impl SubAssign for i32_ube

§

impl SubAssign for i32_ule

§

impl SubAssign for i64_ube

§

impl SubAssign for i64_ule

§

impl SubAssign for i128_ube

§

impl SubAssign for i128_ule

§

impl SubAssign for u16_ube

§

impl SubAssign for u16_ule

§

impl SubAssign for u32_ube

§

impl SubAssign for u32_ule

§

impl SubAssign for u64_ube

§

impl SubAssign for u64_ule

§

impl SubAssign for u128_ube

§

impl SubAssign for u128_ule

§

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

§

impl SubAssign for EventfdFlags

§

impl SubAssign for PollFlags

§

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

§

impl SubAssign for ReadFlags

§

impl SubAssign for WatchFlags

§

impl SubAssign for Access

§

impl SubAssign for AtFlags

§

impl SubAssign for FallocateFlags

§

impl SubAssign for FdFlags

§

impl SubAssign for IFlags

§

impl SubAssign for MemfdFlags

§

impl SubAssign for Mode

§

impl SubAssign for MountFlags

§

impl SubAssign for MountPropagationFlags

§

impl SubAssign for OFlags

§

impl SubAssign for RenameFlags

§

impl SubAssign for ResolveFlags

§

impl SubAssign for SealFlags

§

impl SubAssign for StatVfsMountFlags

§

impl SubAssign for StatxFlags

§

impl SubAssign for UnmountFlags

§

impl SubAssign for XattrFlags

§

impl SubAssign for DupFlags

§

impl SubAssign for ReadWriteFlags

§

impl SubAssign for EventFlags

§

impl SubAssign for IoringAcceptFlags

§

impl SubAssign for IoringAsyncCancelFlags

§

impl SubAssign for IoringCqFlags

§

impl SubAssign for IoringCqeFlags

§

impl SubAssign for IoringEnterFlags

§

impl SubAssign for IoringFeatureFlags

§

impl SubAssign for IoringFsyncFlags

§

impl SubAssign for IoringMsgringFlags

§

impl SubAssign for IoringOpFlags

§

impl SubAssign for IoringPollFlags

§

impl SubAssign for IoringRecvFlags

§

impl SubAssign for IoringRegisterFlags

§

impl SubAssign for IoringRsrcFlags

§

impl SubAssign for IoringSendFlags

§

impl SubAssign for IoringSetupFlags

§

impl SubAssign for IoringSqFlags

§

impl SubAssign for IoringSqeFlags

§

impl SubAssign for IoringTimeoutFlags

§

impl SubAssign for RecvFlags

§

impl SubAssign for RecvmsgOutFlags

§

impl SubAssign for SendFlags

§

impl SubAssign for SocketFlags

§

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

§

impl SubAssign for MapFlags

§

impl SubAssign for MlockAllFlags

§

impl SubAssign for MlockFlags

§

impl SubAssign for MprotectFlags

§

impl SubAssign for MremapFlags

§

impl SubAssign for MsyncFlags

§

impl SubAssign for ProtFlags

§

impl SubAssign for UserfaultfdFlags

§

impl SubAssign for FsMountFlags

§

impl SubAssign for FsOpenFlags

§

impl SubAssign for FsPickFlags

§

impl SubAssign for MountAttrFlags

§

impl SubAssign for MoveMountFlags

§

impl SubAssign for OpenTreeFlags

§

impl SubAssign for SockaddrXdpFlags

§

impl SubAssign for XdpDescOptions

§

impl SubAssign for XdpOptionsFlags

§

impl SubAssign for XdpRingFlags

§

impl SubAssign for XdpUmemRegFlags

§

impl SubAssign for PipeFlags

§

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

§

impl SubAssign for FloatingPointEmulationControl

§

impl SubAssign for FloatingPointExceptionMode

§

impl SubAssign for MembarrierQuery

§

impl SubAssign for PidfdFlags

§

impl SubAssign for PidfdGetfdFlags

§

impl SubAssign for SpeculationFeatureControl

§

impl SubAssign for SpeculationFeatureState

§

impl SubAssign for UnalignedAccessControl

§

impl SubAssign for WaitOptions

§

impl SubAssign for WaitidOptions

§

impl SubAssign for OpenptFlags

§

impl SubAssign for GetRandomFlags

§

impl SubAssign for ShmOFlags

§

impl SubAssign for ControlModes

§

impl SubAssign for InputModes

§

impl SubAssign for LocalModes

§

impl SubAssign for OutputModes

§

impl SubAssign for CapabilitiesSecureBits

§

impl SubAssign for CapabilityFlags

§

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

§

impl SubAssign for TaggedAddressMode

§

impl SubAssign for ThreadNameSpaceType

§

impl SubAssign for UnshareFlags

§

impl SubAssign for TimerfdFlags

§

impl SubAssign for TimerfdTimerFlags

§

impl SubAssign for Channels

§

impl SubAssign for Complex

§

impl SubAssign for f32x4

§

impl SubAssign for f32x8

§

impl SubAssign for f64x2

§

impl SubAssign for f64x4

§

impl SubAssign for i8x16

§

impl SubAssign for i8x32

§

impl SubAssign for i16x8

§

impl SubAssign for i16x16

§

impl SubAssign for i32x4

§

impl SubAssign for i32x8

§

impl SubAssign for i64x2

§

impl SubAssign for u8x16

§

impl SubAssign for u16x8

§

impl SubAssign for u16x16

§

impl SubAssign for u32x4

§

impl SubAssign for u32x8

§

impl SubAssign for u64x2

§

impl SubAssign for u64x4

Source§

impl SubAssign for Float<f32>

Available on crate feature _float_f32 only.
Source§

impl SubAssign for Float<f64>

Available on crate feature _float_f64 only.
Source§

impl SubAssign for Int<i8>

Available on crate feature _int_i8 only.
Source§

impl SubAssign for Int<i16>

Available on crate feature _int_i16 only.
Source§

impl SubAssign for Int<i32>

Available on crate feature _int_i32 only.
Source§

impl SubAssign for Int<i64>

Available on crate feature _int_i64 only.
Source§

impl SubAssign for Int<i128>

Available on crate feature _int_i128 only.
Source§

impl SubAssign for Int<isize>

Available on crate feature _int_isize only.
Source§

impl SubAssign for Int<u8>

Available on crate feature _int_i8 only.
Source§

impl SubAssign for Int<u16>

Available on crate feature _int_u16 only.
Source§

impl SubAssign for Int<u32>

Available on crate feature _int_u32 only.
Source§

impl SubAssign for Int<u64>

Available on crate feature _int_u64 only.
Source§

impl SubAssign for Int<u128>

Available on crate feature _int_u128 only.
Source§

impl SubAssign for Int<usize>

Available on crate feature _int_usize only.
1.9.0 · Source§

impl SubAssign for Duration

Source§

impl SubAssign for Mat3

Source§

impl SubAssign for Mat2

Source§

impl SubAssign for Mat3A

Source§

impl SubAssign for Mat4

Source§

impl SubAssign for Vec3A

Source§

impl SubAssign for Vec4

Source§

impl SubAssign for Vec2

Source§

impl SubAssign for Vec3

Source§

impl SubAssign for DMat2

Source§

impl SubAssign for DMat3

Source§

impl SubAssign for DMat4

Source§

impl SubAssign for DVec2

Source§

impl SubAssign for DVec3

Source§

impl SubAssign for DVec4

Source§

impl SubAssign for I8Vec2

Source§

impl SubAssign for I8Vec3

Source§

impl SubAssign for I8Vec4

Source§

impl SubAssign for I16Vec2

Source§

impl SubAssign for I16Vec3

Source§

impl SubAssign for I16Vec4

Source§

impl SubAssign for IVec2

Source§

impl SubAssign for IVec3

Source§

impl SubAssign for IVec4

Source§

impl SubAssign for I64Vec2

Source§

impl SubAssign for I64Vec3

Source§

impl SubAssign for I64Vec4

Source§

impl SubAssign for U8Vec2

Source§

impl SubAssign for U8Vec3

Source§

impl SubAssign for U8Vec4

Source§

impl SubAssign for U16Vec2

Source§

impl SubAssign for U16Vec3

Source§

impl SubAssign for U16Vec4

Source§

impl SubAssign for UVec2

Source§

impl SubAssign for UVec3

Source§

impl SubAssign for UVec4

Source§

impl SubAssign for U64Vec2

Source§

impl SubAssign for U64Vec3

Source§

impl SubAssign for U64Vec4

1.74.0 · Source§

impl SubAssign for Saturating<i8>

1.74.0 · Source§

impl SubAssign for Saturating<i16>

1.74.0 · Source§

impl SubAssign for Saturating<i32>

1.74.0 · Source§

impl SubAssign for Saturating<i64>

1.74.0 · Source§

impl SubAssign for Saturating<i128>

1.74.0 · Source§

impl SubAssign for Saturating<isize>

1.74.0 · Source§

impl SubAssign for Saturating<u8>

1.74.0 · Source§

impl SubAssign for Saturating<u16>

1.74.0 · Source§

impl SubAssign for Saturating<u32>

1.74.0 · Source§

impl SubAssign for Saturating<u64>

1.74.0 · Source§

impl SubAssign for Saturating<u128>

1.74.0 · Source§

impl SubAssign for Saturating<usize>

1.8.0 · Source§

impl SubAssign for Wrapping<i8>

1.8.0 · Source§

impl SubAssign for Wrapping<i16>

1.8.0 · Source§

impl SubAssign for Wrapping<i32>

1.8.0 · Source§

impl SubAssign for Wrapping<i64>

1.8.0 · Source§

impl SubAssign for Wrapping<i128>

1.8.0 · Source§

impl SubAssign for Wrapping<isize>

1.8.0 · Source§

impl SubAssign for Wrapping<u8>

1.8.0 · Source§

impl SubAssign for Wrapping<u16>

1.8.0 · Source§

impl SubAssign for Wrapping<u32>

1.8.0 · Source§

impl SubAssign for Wrapping<u64>

1.8.0 · Source§

impl SubAssign for Wrapping<u128>

1.8.0 · Source§

impl SubAssign for Wrapping<usize>

§

impl SubAssign for m128

§

impl SubAssign for m128d

§

impl SubAssign for Flags

§

impl SubAssign for MilliBel

§

impl SubAssign for PortCap

§

impl SubAssign for PortType

§

impl SubAssign for Remove

1.22.0 · Source§

impl SubAssign<&f16> for f16

1.22.0 · Source§

impl SubAssign<&f32> for f32

§

impl SubAssign<&f32> for f32_be

§

impl SubAssign<&f32> for f32_le

§

impl SubAssign<&f32> for f32_ube

§

impl SubAssign<&f32> for f32_ule

Source§

impl SubAssign<&f32> for Vec3A

Source§

impl SubAssign<&f32> for Vec4

Source§

impl SubAssign<&f32> for Vec2

Source§

impl SubAssign<&f32> for Vec3

1.22.0 · Source§

impl SubAssign<&f64> for f64

§

impl SubAssign<&f64> for f64_be

§

impl SubAssign<&f64> for f64_le

§

impl SubAssign<&f64> for f64_ube

§

impl SubAssign<&f64> for f64_ule

Source§

impl SubAssign<&f64> for DVec2

Source§

impl SubAssign<&f64> for DVec3

Source§

impl SubAssign<&f64> for DVec4

1.22.0 · Source§

impl SubAssign<&f128> for f128

1.22.0 · Source§

impl SubAssign<&i8> for i8

Source§

impl SubAssign<&i8> for I8Vec2

Source§

impl SubAssign<&i8> for I8Vec3

Source§

impl SubAssign<&i8> for I8Vec4

1.22.0 · Source§

impl SubAssign<&i8> for Saturating<i8>

1.22.0 · Source§

impl SubAssign<&i8> for Wrapping<i8>

1.22.0 · Source§

impl SubAssign<&i16> for i16

§

impl SubAssign<&i16> for i16_be

§

impl SubAssign<&i16> for i16_le

§

impl SubAssign<&i16> for i16_ube

§

impl SubAssign<&i16> for i16_ule

Source§

impl SubAssign<&i16> for I16Vec2

Source§

impl SubAssign<&i16> for I16Vec3

Source§

impl SubAssign<&i16> for I16Vec4

1.22.0 · Source§

impl SubAssign<&i16> for Saturating<i16>

1.22.0 · Source§

impl SubAssign<&i16> for Wrapping<i16>

1.22.0 · Source§

impl SubAssign<&i32> for i32

§

impl SubAssign<&i32> for i32_be

§

impl SubAssign<&i32> for i32_le

§

impl SubAssign<&i32> for i32_ube

§

impl SubAssign<&i32> for i32_ule

Source§

impl SubAssign<&i32> for IVec2

Source§

impl SubAssign<&i32> for IVec3

Source§

impl SubAssign<&i32> for IVec4

1.22.0 · Source§

impl SubAssign<&i32> for Saturating<i32>

1.22.0 · Source§

impl SubAssign<&i32> for Wrapping<i32>

1.22.0 · Source§

impl SubAssign<&i64> for i64

§

impl SubAssign<&i64> for i64_be

§

impl SubAssign<&i64> for i64_le

§

impl SubAssign<&i64> for i64_ube

§

impl SubAssign<&i64> for i64_ule

Source§

impl SubAssign<&i64> for I64Vec2

Source§

impl SubAssign<&i64> for I64Vec3

Source§

impl SubAssign<&i64> for I64Vec4

1.22.0 · Source§

impl SubAssign<&i64> for Saturating<i64>

1.22.0 · Source§

impl SubAssign<&i64> for Wrapping<i64>

1.22.0 · Source§

impl SubAssign<&i128> for i128

§

impl SubAssign<&i128> for i128_be

§

impl SubAssign<&i128> for i128_le

§

impl SubAssign<&i128> for i128_ube

§

impl SubAssign<&i128> for i128_ule

1.22.0 · Source§

impl SubAssign<&i128> for Saturating<i128>

1.22.0 · Source§

impl SubAssign<&i128> for Wrapping<i128>

1.22.0 · Source§

impl SubAssign<&isize> for isize

1.22.0 · Source§

impl SubAssign<&isize> for Saturating<isize>

1.22.0 · Source§

impl SubAssign<&isize> for Wrapping<isize>

1.22.0 · Source§

impl SubAssign<&u8> for u8

Source§

impl SubAssign<&u8> for U8Vec2

Source§

impl SubAssign<&u8> for U8Vec3

Source§

impl SubAssign<&u8> for U8Vec4

1.22.0 · Source§

impl SubAssign<&u8> for Saturating<u8>

1.22.0 · Source§

impl SubAssign<&u8> for Wrapping<u8>

1.22.0 · Source§

impl SubAssign<&u16> for u16

§

impl SubAssign<&u16> for u16_be

§

impl SubAssign<&u16> for u16_le

§

impl SubAssign<&u16> for u16_ube

§

impl SubAssign<&u16> for u16_ule

Source§

impl SubAssign<&u16> for U16Vec2

Source§

impl SubAssign<&u16> for U16Vec3

Source§

impl SubAssign<&u16> for U16Vec4

1.22.0 · Source§

impl SubAssign<&u16> for Saturating<u16>

1.22.0 · Source§

impl SubAssign<&u16> for Wrapping<u16>

1.22.0 · Source§

impl SubAssign<&u32> for u32

§

impl SubAssign<&u32> for u32_be

§

impl SubAssign<&u32> for u32_le

§

impl SubAssign<&u32> for u32_ube

§

impl SubAssign<&u32> for u32_ule

Source§

impl SubAssign<&u32> for UVec2

Source§

impl SubAssign<&u32> for UVec3

Source§

impl SubAssign<&u32> for UVec4

1.22.0 · Source§

impl SubAssign<&u32> for Saturating<u32>

1.22.0 · Source§

impl SubAssign<&u32> for Wrapping<u32>

1.22.0 · Source§

impl SubAssign<&u64> for u64

§

impl SubAssign<&u64> for u64_be

§

impl SubAssign<&u64> for u64_le

§

impl SubAssign<&u64> for u64_ube

§

impl SubAssign<&u64> for u64_ule

Source§

impl SubAssign<&u64> for U64Vec2

Source§

impl SubAssign<&u64> for U64Vec3

Source§

impl SubAssign<&u64> for U64Vec4

1.22.0 · Source§

impl SubAssign<&u64> for Saturating<u64>

1.22.0 · Source§

impl SubAssign<&u64> for Wrapping<u64>

1.22.0 · Source§

impl SubAssign<&u128> for u128

§

impl SubAssign<&u128> for u128_be

§

impl SubAssign<&u128> for u128_le

§

impl SubAssign<&u128> for u128_ube

§

impl SubAssign<&u128> for u128_ule

1.22.0 · Source§

impl SubAssign<&u128> for Saturating<u128>

1.22.0 · Source§

impl SubAssign<&u128> for Wrapping<u128>

1.22.0 · Source§

impl SubAssign<&usize> for usize

1.22.0 · Source§

impl SubAssign<&usize> for Saturating<usize>

1.22.0 · Source§

impl SubAssign<&usize> for Wrapping<usize>

§

impl SubAssign<&f32_be> for f32_be

§

impl SubAssign<&f32_le> for f32_le

§

impl SubAssign<&f64_be> for f64_be

§

impl SubAssign<&f64_le> for f64_le

§

impl SubAssign<&i16_be> for i16_be

§

impl SubAssign<&i16_le> for i16_le

§

impl SubAssign<&i32_be> for i32_be

§

impl SubAssign<&i32_le> for i32_le

§

impl SubAssign<&i64_be> for i64_be

§

impl SubAssign<&i64_le> for i64_le

§

impl SubAssign<&i128_be> for i128_be

§

impl SubAssign<&i128_le> for i128_le

§

impl SubAssign<&u16_be> for u16_be

§

impl SubAssign<&u16_le> for u16_le

§

impl SubAssign<&u32_be> for u32_be

§

impl SubAssign<&u32_le> for u32_le

§

impl SubAssign<&u64_be> for u64_be

§

impl SubAssign<&u64_le> for u64_le

§

impl SubAssign<&u128_be> for u128_be

§

impl SubAssign<&u128_le> for u128_le

§

impl SubAssign<&f32_ube> for f32_ube

§

impl SubAssign<&f32_ule> for f32_ule

§

impl SubAssign<&f64_ube> for f64_ube

§

impl SubAssign<&f64_ule> for f64_ule

§

impl SubAssign<&i16_ube> for i16_ube

§

impl SubAssign<&i16_ule> for i16_ule

§

impl SubAssign<&i32_ube> for i32_ube

§

impl SubAssign<&i32_ule> for i32_ule

§

impl SubAssign<&i64_ube> for i64_ube

§

impl SubAssign<&i64_ule> for i64_ule

§

impl SubAssign<&i128_ube> for i128_ube

§

impl SubAssign<&i128_ule> for i128_ule

§

impl SubAssign<&u16_ube> for u16_ube

§

impl SubAssign<&u16_ule> for u16_ule

§

impl SubAssign<&u32_ube> for u32_ube

§

impl SubAssign<&u32_ule> for u32_ule

§

impl SubAssign<&u64_ube> for u64_ube

§

impl SubAssign<&u64_ule> for u64_ule

§

impl SubAssign<&u128_ube> for u128_ube

§

impl SubAssign<&u128_ule> for u128_ule

§

impl SubAssign<&f32x4> for f32x4

§

impl SubAssign<&f32x8> for f32x8

§

impl SubAssign<&f64x2> for f64x2

§

impl SubAssign<&f64x4> for f64x4

§

impl SubAssign<&i8x16> for i8x16

§

impl SubAssign<&i8x32> for i8x32

§

impl SubAssign<&i16x8> for i16x8

§

impl SubAssign<&i16x16> for i16x16

§

impl SubAssign<&i32x4> for i32x4

§

impl SubAssign<&i32x8> for i32x8

§

impl SubAssign<&i64x2> for i64x2

§

impl SubAssign<&u8x16> for u8x16

§

impl SubAssign<&u16x8> for u16x8

§

impl SubAssign<&u16x16> for u16x16

§

impl SubAssign<&u32x4> for u32x4

§

impl SubAssign<&u32x8> for u32x8

§

impl SubAssign<&u64x2> for u64x2

§

impl SubAssign<&u64x4> for u64x4

Source§

impl SubAssign<&Vec3A> for Vec3A

Source§

impl SubAssign<&Vec4> for Vec4

Source§

impl SubAssign<&Vec2> for Vec2

Source§

impl SubAssign<&Vec3> for Vec3

Source§

impl SubAssign<&DVec2> for DVec2

Source§

impl SubAssign<&DVec3> for DVec3

Source§

impl SubAssign<&DVec4> for DVec4

Source§

impl SubAssign<&I8Vec2> for I8Vec2

Source§

impl SubAssign<&I8Vec3> for I8Vec3

Source§

impl SubAssign<&I8Vec4> for I8Vec4

Source§

impl SubAssign<&I16Vec2> for I16Vec2

Source§

impl SubAssign<&I16Vec3> for I16Vec3

Source§

impl SubAssign<&I16Vec4> for I16Vec4

Source§

impl SubAssign<&IVec2> for IVec2

Source§

impl SubAssign<&IVec3> for IVec3

Source§

impl SubAssign<&IVec4> for IVec4

Source§

impl SubAssign<&I64Vec2> for I64Vec2

Source§

impl SubAssign<&I64Vec3> for I64Vec3

Source§

impl SubAssign<&I64Vec4> for I64Vec4

Source§

impl SubAssign<&U8Vec2> for U8Vec2

Source§

impl SubAssign<&U8Vec3> for U8Vec3

Source§

impl SubAssign<&U8Vec4> for U8Vec4

Source§

impl SubAssign<&U16Vec2> for U16Vec2

Source§

impl SubAssign<&U16Vec3> for U16Vec3

Source§

impl SubAssign<&U16Vec4> for U16Vec4

Source§

impl SubAssign<&UVec2> for UVec2

Source§

impl SubAssign<&UVec3> for UVec3

Source§

impl SubAssign<&UVec4> for UVec4

Source§

impl SubAssign<&U64Vec2> for U64Vec2

Source§

impl SubAssign<&U64Vec3> for U64Vec3

Source§

impl SubAssign<&U64Vec4> for U64Vec4

1.22.0 · Source§

impl SubAssign<&Saturating<i8>> for Saturating<i8>

1.22.0 · Source§

impl SubAssign<&Saturating<i16>> for Saturating<i16>

1.22.0 · Source§

impl SubAssign<&Saturating<i32>> for Saturating<i32>

1.22.0 · Source§

impl SubAssign<&Saturating<i64>> for Saturating<i64>

1.22.0 · Source§

impl SubAssign<&Saturating<i128>> for Saturating<i128>

1.22.0 · Source§

impl SubAssign<&Saturating<isize>> for Saturating<isize>

1.22.0 · Source§

impl SubAssign<&Saturating<u8>> for Saturating<u8>

1.22.0 · Source§

impl SubAssign<&Saturating<u16>> for Saturating<u16>

1.22.0 · Source§

impl SubAssign<&Saturating<u32>> for Saturating<u32>

1.22.0 · Source§

impl SubAssign<&Saturating<u64>> for Saturating<u64>

1.22.0 · Source§

impl SubAssign<&Saturating<u128>> for Saturating<u128>

1.22.0 · Source§

impl SubAssign<&Saturating<usize>> for Saturating<usize>

1.22.0 · Source§

impl SubAssign<&Wrapping<i8>> for Wrapping<i8>

1.22.0 · Source§

impl SubAssign<&Wrapping<i16>> for Wrapping<i16>

1.22.0 · Source§

impl SubAssign<&Wrapping<i32>> for Wrapping<i32>

1.22.0 · Source§

impl SubAssign<&Wrapping<i64>> for Wrapping<i64>

1.22.0 · Source§

impl SubAssign<&Wrapping<i128>> for Wrapping<i128>

1.22.0 · Source§

impl SubAssign<&Wrapping<isize>> for Wrapping<isize>

1.22.0 · Source§

impl SubAssign<&Wrapping<u8>> for Wrapping<u8>

1.22.0 · Source§

impl SubAssign<&Wrapping<u16>> for Wrapping<u16>

1.22.0 · Source§

impl SubAssign<&Wrapping<u32>> for Wrapping<u32>

1.22.0 · Source§

impl SubAssign<&Wrapping<u64>> for Wrapping<u64>

1.22.0 · Source§

impl SubAssign<&Wrapping<u128>> for Wrapping<u128>

1.22.0 · Source§

impl SubAssign<&Wrapping<usize>> for Wrapping<usize>

§

impl SubAssign<f32> for f32_be

§

impl SubAssign<f32> for f32_le

§

impl SubAssign<f32> for f32_ube

§

impl SubAssign<f32> for f32_ule

Source§

impl SubAssign<f32> for Float<f32>

Available on crate feature _float_f32 only.
Source§

impl SubAssign<f32> for Vec3A

Source§

impl SubAssign<f32> for Vec4

Source§

impl SubAssign<f32> for Vec2

Source§

impl SubAssign<f32> for Vec3

§

impl SubAssign<f64> for ClockTime

§

impl SubAssign<f64> for f64_be

§

impl SubAssign<f64> for f64_le

§

impl SubAssign<f64> for f64_ube

§

impl SubAssign<f64> for f64_ule

Source§

impl SubAssign<f64> for Float<f64>

Available on crate feature _float_f64 only.
Source§

impl SubAssign<f64> for DVec2

Source§

impl SubAssign<f64> for DVec3

Source§

impl SubAssign<f64> for DVec4

§

impl SubAssign<i8> for Weekday

Source§

impl SubAssign<i8> for Int<i8>

Available on crate feature _int_i8 only.
Source§

impl SubAssign<i8> for I8Vec2

Source§

impl SubAssign<i8> for I8Vec3

Source§

impl SubAssign<i8> for I8Vec4

1.74.0 · Source§

impl SubAssign<i8> for Saturating<i8>

1.60.0 · Source§

impl SubAssign<i8> for Wrapping<i8>

§

impl SubAssign<i16> for Weekday

§

impl SubAssign<i16> for i16_be

§

impl SubAssign<i16> for i16_le

§

impl SubAssign<i16> for i16_ube

§

impl SubAssign<i16> for i16_ule

Source§

impl SubAssign<i16> for Int<i16>

Available on crate feature _int_i16 only.
Source§

impl SubAssign<i16> for I16Vec2

Source§

impl SubAssign<i16> for I16Vec3

Source§

impl SubAssign<i16> for I16Vec4

1.74.0 · Source§

impl SubAssign<i16> for Saturating<i16>

1.60.0 · Source§

impl SubAssign<i16> for Wrapping<i16>

§

impl SubAssign<i32> for Weekday

§

impl SubAssign<i32> for i32_be

§

impl SubAssign<i32> for i32_le

§

impl SubAssign<i32> for i32_ube

§

impl SubAssign<i32> for i32_ule

Source§

impl SubAssign<i32> for Int<i32>

Available on crate feature _int_i32 only.
Source§

impl SubAssign<i32> for IVec2

Source§

impl SubAssign<i32> for IVec3

Source§

impl SubAssign<i32> for IVec4

1.74.0 · Source§

impl SubAssign<i32> for Saturating<i32>

1.60.0 · Source§

impl SubAssign<i32> for Wrapping<i32>

§

impl SubAssign<i64> for Weekday

§

impl SubAssign<i64> for i64_be

§

impl SubAssign<i64> for i64_le

§

impl SubAssign<i64> for i64_ube

§

impl SubAssign<i64> for i64_ule

Source§

impl SubAssign<i64> for Int<i64>

Available on crate feature _int_i64 only.
Source§

impl SubAssign<i64> for I64Vec2

Source§

impl SubAssign<i64> for I64Vec3

Source§

impl SubAssign<i64> for I64Vec4

1.74.0 · Source§

impl SubAssign<i64> for Saturating<i64>

1.60.0 · Source§

impl SubAssign<i64> for Wrapping<i64>

§

impl SubAssign<i128> for i128_be

§

impl SubAssign<i128> for i128_le

§

impl SubAssign<i128> for i128_ube

§

impl SubAssign<i128> for i128_ule

Source§

impl SubAssign<i128> for Int<i128>

Available on crate feature _int_i128 only.
1.74.0 · Source§

impl SubAssign<i128> for Saturating<i128>

1.60.0 · Source§

impl SubAssign<i128> for Wrapping<i128>

Source§

impl SubAssign<isize> for Int<isize>

Available on crate feature _int_isize only.
1.74.0 · Source§

impl SubAssign<isize> for Saturating<isize>

1.60.0 · Source§

impl SubAssign<isize> for Wrapping<isize>

Source§

impl SubAssign<u8> for Int<u8>

Available on crate feature _int_i8 only.
Source§

impl SubAssign<u8> for U8Vec2

Source§

impl SubAssign<u8> for U8Vec3

Source§

impl SubAssign<u8> for U8Vec4

1.74.0 · Source§

impl SubAssign<u8> for Saturating<u8>

1.60.0 · Source§

impl SubAssign<u8> for Wrapping<u8>

§

impl SubAssign<u16> for u16_be

§

impl SubAssign<u16> for u16_le

§

impl SubAssign<u16> for u16_ube

§

impl SubAssign<u16> for u16_ule

Source§

impl SubAssign<u16> for Int<u16>

Available on crate feature _int_u16 only.
Source§

impl SubAssign<u16> for U16Vec2

Source§

impl SubAssign<u16> for U16Vec3

Source§

impl SubAssign<u16> for U16Vec4

1.74.0 · Source§

impl SubAssign<u16> for Saturating<u16>

1.60.0 · Source§

impl SubAssign<u16> for Wrapping<u16>

§

impl SubAssign<u32> for u32_be

§

impl SubAssign<u32> for u32_le

§

impl SubAssign<u32> for u32_ube

§

impl SubAssign<u32> for u32_ule

Source§

impl SubAssign<u32> for Int<u32>

Available on crate feature _int_u32 only.
Source§

impl SubAssign<u32> for UVec2

Source§

impl SubAssign<u32> for UVec3

Source§

impl SubAssign<u32> for UVec4

1.74.0 · Source§

impl SubAssign<u32> for Saturating<u32>

1.60.0 · Source§

impl SubAssign<u32> for Wrapping<u32>

§

impl SubAssign<u64> for ClockTime

§

impl SubAssign<u64> for u64_be

§

impl SubAssign<u64> for u64_le

§

impl SubAssign<u64> for u64_ube

§

impl SubAssign<u64> for u64_ule

Source§

impl SubAssign<u64> for Int<u64>

Available on crate feature _int_u64 only.
Source§

impl SubAssign<u64> for U64Vec2

Source§

impl SubAssign<u64> for U64Vec3

Source§

impl SubAssign<u64> for U64Vec4

1.74.0 · Source§

impl SubAssign<u64> for Saturating<u64>

1.60.0 · Source§

impl SubAssign<u64> for Wrapping<u64>

§

impl SubAssign<u128> for u128_be

§

impl SubAssign<u128> for u128_le

§

impl SubAssign<u128> for u128_ube

§

impl SubAssign<u128> for u128_ule

Source§

impl SubAssign<u128> for Int<u128>

Available on crate feature _int_u128 only.
1.74.0 · Source§

impl SubAssign<u128> for Saturating<u128>

1.60.0 · Source§

impl SubAssign<u128> for Wrapping<u128>

Source§

impl SubAssign<usize> for Int<usize>

Available on crate feature _int_usize only.
1.74.0 · Source§

impl SubAssign<usize> for Saturating<usize>

1.60.0 · Source§

impl SubAssign<usize> for Wrapping<usize>

§

impl SubAssign<SignedDuration> for Date

Subtracts a signed duration of time from a date in place.

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

§

impl SubAssign<SignedDuration> for DateTime

Subtracts a signed duration of time from a datetime in place.

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

§

impl SubAssign<SignedDuration> for Time

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

For checked arithmetic, see Time::checked_sub.

§

impl SubAssign<SignedDuration> for Timestamp

Subtracts a signed duration of time from a timestamp in place.

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

§

impl SubAssign<SignedDuration> for Zoned

Subtracts a signed duration of time from a zoned datetime in place.

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

§

impl SubAssign<SignedDuration> for Offset

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

For checked arithmetic, see Offset::checked_sub.

§

impl SubAssign<Span> for Date

Subtracts a span of time from a date in place.

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

§

impl SubAssign<Span> for DateTime

Subtracts a span of time from a datetime in place.

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

§

impl SubAssign<Span> for Time

Subtracts a span of time in place. This uses wrapping arithmetic.

For checked arithmetic, see Time::checked_sub.

§

impl SubAssign<Span> for Timestamp

Subtracts a span of time from a timestamp in place.

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 SubAssign<Span> for Zoned

Subtracts a span of time from a zoned datetime in place.

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

§

impl SubAssign<Span> for Offset

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

For checked arithmetic, see Offset::checked_sub.

§

impl SubAssign<Duration> for Date

Subtracts an unsigned duration of time from a date in place.

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

§

impl SubAssign<Duration> for DateTime

Subtracts an unsigned duration of time from a datetime in place.

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

§

impl SubAssign<Duration> for Time

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

For checked arithmetic, see Time::checked_sub.

§

impl SubAssign<Duration> for Timestamp

Subtracts an unsigned duration of time from a timestamp in place.

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

§

impl SubAssign<Duration> for Zoned

Subtracts an unsigned duration of time from a zoned datetime in place.

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

§

impl SubAssign<Duration> for Offset

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

For checked arithmetic, see Offset::checked_sub.

1.9.0 · Source§

impl SubAssign<Duration> for Instant

1.9.0 · Source§

impl SubAssign<Duration> for SystemTime

Source§

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

Available on crate feature _float_f32 only.
Source§

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

Available on crate feature _float_f64 only.
Source§

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

Available on crate feature _int_i8 only.
Source§

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

Available on crate feature _int_i16 only.
Source§

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

Available on crate feature _int_i32 only.
Source§

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

Available on crate feature _int_i64 only.
Source§

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

Available on crate feature _int_i128 only.
Source§

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

Available on crate feature _int_isize only.
Source§

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

Available on crate feature _int_i8 only.
Source§

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

Available on crate feature _int_u16 only.
Source§

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

Available on crate feature _int_u32 only.
Source§

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

Available on crate feature _int_u64 only.
Source§

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

Available on crate feature _int_u128 only.
Source§

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

Available on crate feature _int_usize only.
Source§

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

Available on crate feature _float_f32 only.
Source§

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

Available on crate feature _float_f64 only.
Source§

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

Available on crate feature _int_i8 only.
Source§

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

Available on crate feature _int_i16 only.
Source§

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

Available on crate feature _int_i32 only.
Source§

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

Available on crate feature _int_i64 only.
Source§

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

Available on crate feature _int_i128 only.
Source§

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

Available on crate feature _int_isize only.
Source§

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

Available on crate feature _int_i8 only.
Source§

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

Available on crate feature _int_u16 only.
Source§

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

Available on crate feature _int_u32 only.
Source§

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

Available on crate feature _int_u64 only.
Source§

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

Available on crate feature _int_u128 only.
Source§

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

Available on crate feature _int_usize only.
§

impl<T, S, A> SubAssign<&HashSet<T, S, A>> for HashSet<T, S, A>
where T: Eq + Hash + Clone, S: BuildHasher, A: Allocator,

Source§

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

Source§

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

Available on crate feature alg only.
Source§

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

Available on crate feature alg only.