pub trait SubWrapped<Rhs = Self>where
    Rhs: ?Sized,
{ type Output; fn sub_wrapped(&self, rhs: &Rhs) -> Self::Output; }
Expand description

Binary operator for subtracting two values, wrapping the difference if an underflow occurs.

Required Associated Types§

Required Methods§

Implementations on Foreign Types§

Returns the difference of self and other.

Implementors§