Function |wrapping_sub

std/ops/num::|wrapping_sub


Usage

|wrapping_sub<N>(a, b)

Generics

◻ N: WrappingSub

Parameters

↳ a: N
↳ b: N

Return

↴ N


Sustract b from a, wrapping on bounds.

This function is infaillible and wrap if a - b reach boundary of the data type.