Skip to main content

SubAssign

Trait SubAssign 

Source
pub trait SubAssign<Rhs> {
    // Required method
    fn sub_assign(&self, val: Rhs);
}

Required Methods§

Source

fn sub_assign(&self, val: Rhs)

Subtract from the current value, storing the result.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<Lhs, Rhs> SubAssign<Rhs> for Beefeater<Lhs>
where Lhs: SubAssign<Rhs> + Copy,