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

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

Computes l subtracted by r.

Satisfies the Sub concept for unsigned integers.

This operation supports working with primitive 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.