Method lrs::num::Wsize::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 Wsize {
    fn saturating_sub(self, other: usize) -> Wsize
}

Arguments

NameDescription
other