Function Subspace :: sus :: num :: operator-

auto operator-(i32 l, i32 r) -> i32

Computes l subtracted by r.

Satisfies the Sub concept for signed integers.

This operation supports shifting with primitive signed or unsigned integers that convert to the safe numeric, as well as enums. However enum class is excluded as they require an explicit conversion to an integer.

Panics

This operation will panic on overflow if overflow checks are enabled (they are by default) and will wrap if overflow checks are disabled (not the default).

See overflow checks for controlling this behaviour.