WrappingSub

Performs subtraction that wraps around on overflow.

Fully qualified path: core::num::traits::ops::wrapping::WrappingSub

pub trait WrappingSub<T>

Trait functions

wrapping_sub

Wrapping (modular) subtraction. Computes self - other, wrapping around at the boundary of the type.

Fully qualified path: core::num::traits::ops::wrapping::WrappingSub::wrapping_sub

fn wrapping_sub(self: T, v: T) -> T