Method lrs::num::W8::saturating_sub

Subtracts another integer to this one without overflow, trimming the value to the range that can be represented in this type.

Syntax

impl W8 {
    fn saturating_sub(self, other: u8) -> W8
}

Arguments

NameDescription
other