AddByRef

Trait AddByRef 

Source
pub trait AddByRef<Rhs = Self> {
    type Output;

    // Required method
    fn add_by_ref(&self, rhs: &Rhs) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn add_by_ref(&self, rhs: &Rhs) -> Self::Output

Implementors§

Source§

impl<Rhs, Lhs, Output> AddByRef<Rhs> for Lhs
where for<'a> &'a Lhs: Add<&'a Rhs, Output = Output>,

Source§

type Output = Output