Trait BinaryAssignOp

Source
pub trait BinaryAssignOp<A, B = A> {
    // Required method
    fn eval(&self, lhs: &mut A, rhs: B);
}

Required Methods§

Source

fn eval(&self, lhs: &mut A, rhs: B)

Trait Implementations§

Source§

impl<A, B> BinaryAssignOp<A, B> for Box<dyn BinaryAssignOp<A, B>>

Source§

fn eval(&self, lhs: &mut A, rhs: B)

Implementations on Foreign Types§

Source§

impl<A, B> BinaryAssignOp<A, B> for Box<dyn BinaryAssignOp<A, B>>

Source§

fn eval(&self, lhs: &mut A, rhs: B)

Implementors§

Source§

impl<A, B> BinaryAssignOp<A, B> for ArithmeticAssign
where A: NumAssignOps<B>,

Source§

impl<A, B> BinaryAssignOp<A, B> for AddAssign
where A: AddAssign<B>,

Source§

impl<A, B> BinaryAssignOp<A, B> for DivAssign
where A: DivAssign<B>,

Source§

impl<A, B> BinaryAssignOp<A, B> for MulAssign
where A: MulAssign<B>,

Source§

impl<A, B> BinaryAssignOp<A, B> for RemAssign
where A: RemAssign<B>,

Source§

impl<A, B> BinaryAssignOp<A, B> for SubAssign
where A: SubAssign<B>,